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: update GitHub Actions permissions for checks and pull requests #3842

Closed
wants to merge 0 commits into from

Conversation

sanjaikumar-bruno
Copy link
Contributor

Description

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

@sanjaikumar-bruno sanjaikumar-bruno marked this pull request as ready for review January 20, 2025 08:14
@sanjaikumar-bruno sanjaikumar-bruno mentioned this pull request Jan 20, 2025
5 tasks
@@ -7,6 +7,8 @@ on:

permissions:
contents: read
checks: write
pull-requests: write
Copy link
Collaborator

@ramki-bruno ramki-bruno Jan 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add this permissions per job using jobs.<job_id>.permissions.
But its not something I would worry about and probably not worth creating a new job(upload and download atrifacts etc.).

@sanjaikumar-bruno
Copy link
Contributor Author

I accidentally pushed the changes from my main, and when reverting these unmerged changes, the branch got reset. I raised a new PR #3844 with the changes suggested from this review.

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

Successfully merging this pull request may close these issues.

2 participants