Skip to content

Commit 9ea5eb7

Browse files
authored
Update publish.yml
1 parent ba3fab2 commit 9ea5eb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Publish
33
on:
44
workflow_dispatch:
55

6-
permissions: write-all
6+
permissions:
7+
contents: write
8+
workflows: write
79

810
jobs:
911

@@ -24,7 +26,6 @@ jobs:
2426
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" README.md
2527
- run: |
2628
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" .github/workflows/update-vector-map.yml
27-
- run: git diff
2829
- run: git add package.json package-lock.json README.md .github/workflows/update-vector-map.yml
2930
- run: |
3031
git commit -m "Set version ${{ env.NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"

0 commit comments

Comments
 (0)