Skip to content

Commit

Permalink
Add pr write permissions and github token
Browse files Browse the repository at this point in the history
  • Loading branch information
silvacb committed Nov 28, 2023
1 parent 6a5f219 commit 9dd3c50
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/event-consumer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:eventconsumer
buildNumberOffset: 4147
configPath: eventconsumer/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fake-breaking-news.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -47,6 +48,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:fakebreakingnewslambda
buildNumberOffset: 4147
configPath: fakebreakingnewslambda/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/football.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:football
buildNumberOffset: 4147
configPath: football/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/notification-worker-lambdas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:notificationworkerlambda
buildNumberOffset: 4147
configPath: notificationworkerlambda/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand All @@ -44,6 +45,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:notification
buildNumberOffset: 4147
configPath: notification/conf/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/report-extractor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -46,6 +47,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:reportextractor
buildNumberOffset: 4147
configPath: reportextractor/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand All @@ -44,6 +45,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:report
buildNumberOffset: 4147
configPath: report/conf/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/schedule-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -45,6 +46,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:schedule
buildNumberOffset: 4147
configPath: schedulelambda/riff-raff.yaml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/slo-monitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ concurrency:
permissions:
id-token: write
contents: read
pull-requests: write

jobs:
build:
Expand Down Expand Up @@ -60,6 +61,7 @@ jobs:
- name: Upload to riff-raff
uses: guardian/actions-riff-raff@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: mobile-n10n:slomonitor
buildNumberOffset: 4147
configPath: slomonitor/riff-raff.yaml
Expand Down

0 comments on commit 9dd3c50

Please sign in to comment.