Skip to content

Commit 2f0f282

Browse files
committed
ci: move permissions to correct location
1 parent 8d270e9 commit 2f0f282

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/covector-version-or-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
jobs:
99
changelog:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
1114

1215
steps:
1316
- uses: actions/checkout@v3
@@ -28,9 +31,6 @@ jobs:
2831
id: cpr
2932
uses: peter-evans/create-pull-request@v3
3033
if: steps.covector.outputs.commandRan == 'version'
31-
permissions:
32-
contents: write
33-
pull-requests: write
3434
with:
3535
title: "Publish New Versions"
3636
commit-message: "publish new versions"

0 commit comments

Comments
 (0)