Skip to content

Commit 421466b

Browse files
committed
move permissions back to job level
1 parent 660f06d commit 421466b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/publish-plugin.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ on:
77
- feature/**
88
workflow_dispatch:
99

10-
permissions:
11-
contents: write
12-
packages: write
13-
id-token: write # Required for OIDC -- https://docs.npmjs.com/trusted-publishers
10+
1411

1512
jobs:
1613
publish:
1714
runs-on: ubuntu-latest
18-
15+
permissions:
16+
id-token: write # Required for OIDC -- https://docs.npmjs.com/trusted-publishers
17+
contents: write
18+
packages: write
19+
1920
steps:
2021
- name: Publish Backstage plugins
2122
id: publish_plugins

0 commit comments

Comments
 (0)