Skip to content

Commit

Permalink
Merge pull request #4418 from DFE-Digital/fix_ci_permissions
Browse files Browse the repository at this point in the history
Fix CI build persmissions
  • Loading branch information
vipin-dfe authored Dec 10, 2024
2 parents 2ed61a9 + 98edf46 commit c4c7179
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
permissions:
contents: write
deployments: write
id-token: write
issues: write
packages: write
pull-requests: write
Expand Down Expand Up @@ -436,9 +437,6 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
concurrency: Review_${{github.event.number}}
permissions:
id-token: write
pull-requests: write
environment:
name: review
steps:
Expand Down Expand Up @@ -498,8 +496,6 @@ jobs:
if: github.ref == 'refs/heads/master'
concurrency: Development
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: development
outputs:
Expand Down Expand Up @@ -618,8 +614,6 @@ jobs:
if: github.ref == 'refs/heads/master'
concurrency: test
runs-on: ubuntu-latest
permissions:
id-token: write
environment:
name: test
steps:
Expand Down Expand Up @@ -666,8 +660,6 @@ jobs:
needs: [ build_base, test ]
environment:
name: test
permissions:
id-token: write
services:
postgres:
image: postgres:13.10
Expand Down Expand Up @@ -738,8 +730,6 @@ jobs:
runs-on: ubuntu-latest
needs: [ integration, development ]
concurrency: production
permissions:
id-token: write
environment:
name: production
steps:
Expand Down

0 comments on commit c4c7179

Please sign in to comment.