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

chore: Set permissions for GitHub actions #2051

Merged
merged 7 commits into from Jun 4, 2022

Commits on May 31, 2022

  1. chore: Set permissions for GitHub actions

     Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
    
    - Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
    
    https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
    
    https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
    
    [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)
    
    Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
    neilnaveen committed May 31, 2022
    Configuration menu
    Copy the full SHA
    0a3b095 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2022

  1. Configuration menu
    Copy the full SHA
    2502201 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5455046 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a3d585 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e74017 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a3953ef View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c90e723 View commit details
    Browse the repository at this point in the history