Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use app token because of PR / branch protection #1283

Merged
merged 2 commits into from
Feb 6, 2025
Merged

Conversation

morri-son
Copy link
Contributor

What this PR does / why we need it

For issues the GITHUB_TOKEN is sufficient: https://github.com/open-component-model/ocm/actions/runs/13160047944/job/36726209427.

For PRs the branch protection comes in place and the action fails: https://github.com/open-component-model/ocm/actions/runs/13160047944/job/36726209427

Therefore we need to use the github app token from the ocm bot.

@morri-son morri-son requested a review from a team as a code owner February 5, 2025 16:39
@github-actions github-actions bot added component/github-actions Changes on GitHub Actions or within `.github/` directory size/s Small labels Feb 5, 2025
@morri-son morri-son changed the title use app token because of PR / branch protection fix: use app token because of PR / branch protection Feb 5, 2025
@github-actions github-actions bot added the kind/bugfix Bug label Feb 5, 2025
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Mend Scan Summary: ❌

Repository: open-component-model/ocm

VIOLATION DESCRIPTION NUMBER OF VIOLATIONS
HIGH/CRITICAL SECURITY VULNERABILITIES 4
MAJOR UPDATES AVAILABLE 0
LICENSE REQUIRES REVIEW 2
HIGH RISK LICENSES 9
RESTRICTIED LICENSE FOR ON-PREMISE DELIVERY 0

Detailed Logs: mend-scan-> Generate Report
Mend UI

@morri-son morri-son merged commit 258ecdf into main Feb 6, 2025
26 checks passed
@morri-son morri-son deleted the use-app-token branch February 6, 2025 09:32
@ocmbot ocmbot bot added this to the 2025-Q1 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/github-actions Changes on GitHub Actions or within `.github/` directory kind/bugfix Bug size/s Small
Projects
Status: 🍺 Done
Development

Successfully merging this pull request may close these issues.

2 participants