Skip to content

Commit 2d8c313

Browse files
committed
ci: fix permissions issues
1 parent d17c7b6 commit 2d8c313

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/changelog.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
name: Create changelog
1616
runs-on: ubuntu-latest
1717
permissions:
18-
id-token: write
19-
packages: write
2018
contents: write
2119
pull-requests: write
2220
steps:

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: read
20-
id-token: write
2120
steps:
2221
- name: Checkout
2322
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
@@ -51,6 +50,7 @@ jobs:
5150
name: Deploy
5251
permissions:
5352
pages: write
53+
id-token: write
5454
steps:
5555
- name: Deploy to GitHub Pages
5656
id: deployment

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
push:
1515
tags:
1616
- '[0-9]+.[0-9]+.[0-9]+'
17+
1718
workflow_call:
1819
# workflow_run:
1920
# workflows: ['Tag']
@@ -65,8 +66,7 @@ jobs:
6566
secrets:
6667
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6768
permissions:
68-
contents: read
69-
issues: write
69+
contents: write
7070
pull-requests: write
7171

7272
build-and-publish:

.github/workflows/tag.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,4 @@ jobs:
7575
attestations: write
7676
id-token: write
7777
pull-requests: write
78-
secrets:
79-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78+
secrets: inherit

0 commit comments

Comments
 (0)