Skip to content

Commit f0ff246

Browse files
committed
Move permissions to the draft job
1 parent 095b2ee commit f0ff246

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ jobs:
9595
runs-on: ubuntu-latest
9696
if: startsWith(github.ref, 'refs/tags')
9797

98+
permissions:
99+
contents: write
100+
98101
steps:
99102
- uses: actions/checkout@v4
100103

@@ -111,8 +114,6 @@ jobs:
111114
sudo apt-get update && sudo apt-get install -y gh
112115
113116
- name: Create Draft Release
114-
with:
115-
permission: write-all
116117
env:
117118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118119
run: |

0 commit comments

Comments
 (0)