We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba3fab2 commit 9ea5eb7Copy full SHA for 9ea5eb7
.github/workflows/publish.yml
@@ -3,7 +3,9 @@ name: Publish
3
on:
4
workflow_dispatch:
5
6
-permissions: write-all
+permissions:
7
+ contents: write
8
+ workflows: write
9
10
jobs:
11
@@ -24,7 +26,6 @@ jobs:
24
26
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" README.md
25
27
- run: |
28
sed -i "s|\(uses:[[:space:]]*forproxyband/vector-code-map@\)v[0-9.]*|\1${{ env.NPM_PACKAGE_VERSION }}|g" .github/workflows/update-vector-map.yml
- - run: git diff
29
- run: git add package.json package-lock.json README.md .github/workflows/update-vector-map.yml
30
31
git commit -m "Set version ${{ env.NPM_PACKAGE_VERSION }} by ${GITHUB_ACTOR}"
0 commit comments