Skip to content

Commit

Permalink
Merge pull request #5954 from ministryofjustice/fix/token-permissions…
Browse files Browse the repository at this point in the history
…-vuln

added top-level permissions to fix code scanning vuln
  • Loading branch information
AafAnsari authored Jan 11, 2024
2 parents 8acca16 + cc3433f commit 698ffd9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/notify-user-new-environment-created.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ on:
issues:
types:
- closed

permissions:
contents: read

jobs:
send-message:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
Expand Down

0 comments on commit 698ffd9

Please sign in to comment.