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

Autobuild: Minimize permissions in CI #2953

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

ann0see
Copy link
Member

@ann0see ann0see commented Nov 1, 2022

Short description of changes
Reduces permissions in autobuild.yml to a bare minimum.

CHANGELOG: Internal: Reduced permissions in Autobuild for security hardening

Context: Fixes an issue?

Related: #1737

Does this change need documentation? What needs to be documented and how?

Status of this Pull Request
Ready for review. Artifacts are building for a release: https://github.com/ann0see/jamulus/actions/runs/3373043380 and seem to be ok. My repo has now enabled strict read only default permissons.

What is missing until this pull request can be merged?
Review

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@ann0see ann0see requested a review from hoffie November 1, 2022 21:42
Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me!

Did you try to build a test release on your repo with that logic in place? If not, it would be good to do so. :)

@ann0see
Copy link
Member Author

ann0see commented Nov 7, 2022

Yes, see https://github.com/ann0see/jamulus/releases/tag/r0_0_0none4

I needed to set it as visible.

@ann0see
Copy link
Member Author

ann0see commented Nov 15, 2022

@pljones Could you please review this?

Copy link
Collaborator

@pljones pljones left a comment

Choose a reason for hiding this comment

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

Happy this grants no more than enough. And happy it'll fail fast if it's not enough 😃.

@ann0see ann0see merged commit 6bb9beb into jamulussoftware:master Nov 16, 2022
@ann0see ann0see deleted the autobuild/hardenCI branch November 16, 2022 20:34
@ann0see
Copy link
Member Author

ann0see commented Nov 16, 2022

Now the other files also need updates :-).

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants