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

Reduce permissions of GH actions and limit its triggers #189

Merged
merged 2 commits into from
Aug 20, 2023

Conversation

Widcket
Copy link
Contributor

@Widcket Widcket commented Aug 18, 2023

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

This PR sets the permissions of the GitHub Actions workflow to permissions: {}, as none of the jobs require elevated permissions. Also, the events that trigger the workflow were changed from push (run on push to any branch) to only when a PR is created, or new commits are pushed to one.

@Widcket Widcket added the review:tiny Tiny review label Aug 18, 2023
@Widcket Widcket requested a review from a team as a code owner August 18, 2023 22:49
@Widcket Widcket enabled auto-merge (squash) August 20, 2023 22:01
@Widcket Widcket merged commit 0ebc540 into master Aug 20, 2023
11 checks passed
@Widcket Widcket deleted the chore/github-actions-permissions branch August 20, 2023 22:06
@desusai7 desusai7 mentioned this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:tiny Tiny review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants