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: Allow release job to write contents #7

Merged
merged 1 commit into from Mar 10, 2024

Conversation

localheinz
Copy link
Contributor

This pull request

  • allows the release job to write contents

Fixes #6.

πŸ’β€β™‚οΈ For reference, see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions.

@sebastianbergmann
Copy link
Owner

What a coincidence: at the same time you opened this PR I solved this in the project's settings: Actions > General > Workflow permissions > Read and write permissions.

So ... which approach is better?

@sebastianbergmann
Copy link
Owner

I think I want to have the permissions restrictive by default and allow write access only for workflows that need them.

@sebastianbergmann sebastianbergmann merged commit 9d3635b into sebastianbergmann:main Mar 10, 2024
@sebastianbergmann
Copy link
Owner

I can confirm that this solved the problem, thanks!

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

Successfully merging this pull request may close these issues.

ncipollo/release-action triggers Error 403: Resource not accessible by integration
2 participants