Skip to content

Commit 2bf23dc

Browse files
committed
Add permissions
1 parent 3bb889c commit 2bf23dc

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/continuous_deployment.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
name: Main Release
22
run-name: "Main Release"
3-
on:
4-
push:
5-
branches:
6-
- 'main'
3+
on: [push]
4+
5+
permissions:
6+
# Need permission to write to the Releases tab now.
7+
# https://github.com/ncipollo/release-action/issues/208.
8+
contents: write
79

810
jobs:
9-
permissions:
10-
# Need permission to write to the Releases tab now.
11-
# https://github.com/ncipollo/release-action/issues/208.
12-
contents: write
1311
determine-if-deploy:
1412
runs-on: ubuntu-latest
1513
outputs:

0 commit comments

Comments
 (0)