Skip to content

Commit 13df8e4

Browse files
authored
build: fix fed action permissions (#1703)
1 parent de0c332 commit 13df8e4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/federation-integration.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Federation Integration Tests
22

33
on:
44
workflow_call:
5+
secrets:
6+
token:
7+
required: false
58

69
jobs:
710
composition:
@@ -71,8 +74,6 @@ jobs:
7174
defaults:
7275
run:
7376
working-directory: integration/federation-compatibility
74-
permissions:
75-
issues: write
7677

7778
steps:
7879
- name: Checkout Repository
@@ -101,4 +102,4 @@ jobs:
101102
failOnWarning: true
102103
failOnRequired: true
103104
workingDirectory: 'integration/federation-compatibility'
104-
token: ${{ secrets.GITHUB_TOKEN }}
105+
token: ${{ secrets.token }}

.github/workflows/pr-check-federation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ on:
1010

1111
jobs:
1212
federation-integration:
13+
permissions:
14+
issues: write
1315
uses: ./.github/workflows/federation-integration.yml
16+
secrets:
17+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)