Skip to content

Commit 5e6c258

Browse files
chore(ci): Follow up to workflow permissions (#11397)
Following up with more tinkering of the workflow permissions. I'll have to just test the publishing ones by merging and watching it not break.
1 parent de0529b commit 5e6c258

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

.github/workflows/check-test-project-fixture.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ jobs:
4141
if: needs.detect-changes.outputs.code == 'true'
4242
name: Check test project fixture
4343
runs-on: ubuntu-latest
44-
permissions:
45-
actions: write
4644
steps:
4745
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
4846

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
permissions: {}
15+
1416
env:
1517
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
1618
YARN_ENABLE_HARDENED_MODE: 0

.github/workflows/publish-canary.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17+
permissions: {}
18+
1719
jobs:
1820
publish-canary:
1921
name: 🦜 Publish Canary

.github/workflows/publish-release-candidate.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17+
permissions: {}
18+
1719
jobs:
1820
check-git-tags:
1921
name: 🏷 Check git tags

0 commit comments

Comments
 (0)