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

Wolfi-dev OS actions - resource not accessible warning #417

Open
xnox opened this issue Apr 10, 2024 · 2 comments
Open

Wolfi-dev OS actions - resource not accessible warning #417

xnox opened this issue Apr 10, 2024 · 2 comments

Comments

@xnox
Copy link
Contributor

xnox commented Apr 10, 2024

2024-04-10T11:55:40.7937799Z ##[group]Run thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6
2024-04-10T11:55:40.7938384Z with:
2024-04-10T11:55:40.7938595Z   filePath: diff.log
2024-04-10T11:55:40.7939344Z   GITHUB_TOKEN: ***
2024-04-10T11:55:40.7939599Z   mode: upsert
2024-04-10T11:55:40.7939838Z   create_if_not_exists: true
2024-04-10T11:55:40.7940119Z ##[endgroup]
2024-04-10T11:55:41.0317790Z ##[error]Resource not accessible by integration
2024-04-10T11:55:41.0405868Z ##[group]Run actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
2024-04-10T11:55:41.0406471Z with:
2024-04-10T11:55:41.0406723Z   path: ./packages/x86_64
./packages.log

As mentioned in annotations at https://github.com/wolfi-dev/os/actions/runs/8630712801

@imjasonh
Copy link
Member

Resource not accessible by integration is an auth error, normally attributable to GH flakes.

I think this error is telling us that a workflow run from a PR from a branch on a fork can't post PR comments to the PR -- in this case, the package diff.

This can be safely ignored, but I agree that we shouldn't be in the business of ignoring warnings like this.

The medium-term solution is to move the PR diff bot out of GitHub Actions where it can more easily take advantage of OctoSTS to get tokens authorized to post comments.

@xnox
Copy link
Contributor Author

xnox commented Apr 10, 2024

Ok, wishlist.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants