Skip to content

Commit 6746574

Browse files
committed
[ci][fix] Reducing specific permission to the targeted job, + adding capability to deploy a release
1 parent 824d6c2 commit 6746574

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
- master
1313
- develop
1414

15-
permissions:
16-
id-token: write
17-
attestations: write
18-
1915
jobs:
2016
build_install:
2117
name: Build and install the Ledgerblue Python package
@@ -42,6 +38,11 @@ jobs:
4238
name: Build the Python package, and deploy if needed
4339
runs-on: public-ledgerhq-shared-small
4440
needs: build_install
41+
permissions:
42+
id-token: write
43+
attestations: write
44+
contents: write
45+
4546
steps:
4647
- name: Clone
4748
uses: actions/checkout@v3

0 commit comments

Comments
 (0)