Skip to content

Commit 73b455a

Browse files
committed
fix (cd): added write permissions inside release tag workflow
Signed-off-by: rafaeljohn9 <rafaeljohb@gmail.com>
1 parent 4534604 commit 73b455a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
workflow_call:
55
workflow_dispatch:
66

7-
permissions:
8-
id-token: write # for trusted publishing
9-
107
jobs:
118
publish:
129
runs-on: ubuntu-latest

.github/workflows/release-tag.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ on:
55
tags: ["v*.*.*"]
66
workflow_dispatch:
77

8+
permissions:
9+
id-token: write
10+
811
jobs:
912
build:
1013
uses: ./.github/workflows/build-binaries.yml
1114

12-
publish-cargo:
13-
uses: ./.github/workflows/publish-cargo.yml
14-
1515
publish-pypi:
1616
uses: ./.github/workflows/publish-pypi.yml
1717
needs: build # ← Can run after build, even in parallel with cargo
18+
19+
publish-cargo:
20+
uses: ./.github/workflows/publish-cargo.yml

0 commit comments

Comments
 (0)