Skip to content

Commit ad1ccf5

Browse files
authored
fix: move permissions to the correct job (#2080) (#2081)
The permissions block should be under `create_release` job, rather than `build`. Signed-off-by: Maksim An <maksiman@microsoft.com> (cherry picked from commit 3eeba90)
1 parent 6588c1c commit ad1ccf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ env:
99

1010
jobs:
1111
build:
12-
permissions:
13-
contents: write
1412
runs-on: "windows-2019"
1513
steps:
1614
- uses: actions/checkout@v4
@@ -34,6 +32,8 @@ jobs:
3432
create_release:
3533
needs: build
3634
runs-on: ubuntu-latest
35+
permissions:
36+
contents: write
3737
steps:
3838
- name: Download artifacts
3939
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)