Skip to content

Commit

Permalink
[StepSecurity] ci: Harden GitHub Actions in maintenance.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
step-security-bot committed Oct 5, 2022
1 parent 93aeccb commit 136bab7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ on:
- next
types: [synchronize]

permissions: # added using https://github.com/step-security/secure-workflows
contents: read

jobs:
main:
permissions:
pull-requests: write # for eps1lon/actions-label-merge-conflict to label PRs
runs-on: ubuntu-latest
steps:
- name: check if prs are dirty
Expand Down

0 comments on commit 136bab7

Please sign in to comment.