From 9dd3c508f9ef7da10c5eb2a9465e06ff48c73786 Mon Sep 17 00:00:00 2001 From: silvacb Date: Tue, 28 Nov 2023 14:26:50 +0000 Subject: [PATCH] Add pr write permissions and github token --- .github/workflows/event-consumer.yml | 2 ++ .github/workflows/fake-breaking-news.yml | 2 ++ .github/workflows/football.yml | 2 ++ .github/workflows/notification-worker-lambdas.yml | 2 ++ .github/workflows/notification.yml | 2 ++ .github/workflows/report-extractor.yml | 2 ++ .github/workflows/report.yml | 2 ++ .github/workflows/schedule-lambda.yml | 2 ++ .github/workflows/slo-monitor.yml | 2 ++ 9 files changed, 18 insertions(+) diff --git a/.github/workflows/event-consumer.yml b/.github/workflows/event-consumer.yml index a8a3f7380..e8f4e590c 100644 --- a/.github/workflows/event-consumer.yml +++ b/.github/workflows/event-consumer.yml @@ -18,6 +18,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/fake-breaking-news.yml b/.github/workflows/fake-breaking-news.yml index ec776dd91..10578dbea 100644 --- a/.github/workflows/fake-breaking-news.yml +++ b/.github/workflows/fake-breaking-news.yml @@ -20,6 +20,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/football.yml b/.github/workflows/football.yml index 106e179ad..1e62ac619 100644 --- a/.github/workflows/football.yml +++ b/.github/workflows/football.yml @@ -18,6 +18,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/notification-worker-lambdas.yml b/.github/workflows/notification-worker-lambdas.yml index be02d89ca..072c4205f 100644 --- a/.github/workflows/notification-worker-lambdas.yml +++ b/.github/workflows/notification-worker-lambdas.yml @@ -20,6 +20,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/notification.yml b/.github/workflows/notification.yml index 6e281f33d..308b7be05 100644 --- a/.github/workflows/notification.yml +++ b/.github/workflows/notification.yml @@ -20,6 +20,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/report-extractor.yml b/.github/workflows/report-extractor.yml index c019b852f..e407742b8 100644 --- a/.github/workflows/report-extractor.yml +++ b/.github/workflows/report-extractor.yml @@ -19,6 +19,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index 87ccc94b5..81c9e137e 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -20,6 +20,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/schedule-lambda.yml b/.github/workflows/schedule-lambda.yml index efb88aaf1..eca70cd13 100644 --- a/.github/workflows/schedule-lambda.yml +++ b/.github/workflows/schedule-lambda.yml @@ -18,6 +18,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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 diff --git a/.github/workflows/slo-monitor.yml b/.github/workflows/slo-monitor.yml index 6b2a9ad51..fbc1db09d 100644 --- a/.github/workflows/slo-monitor.yml +++ b/.github/workflows/slo-monitor.yml @@ -19,6 +19,7 @@ concurrency: permissions: id-token: write contents: read + pull-requests: write jobs: build: @@ -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