Skip to content

Commit 969a965

Browse files
committed
Add git config
1 parent e79cc49 commit 969a965

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches:
66
- main
7+
8+
permissions:
9+
contents: write
10+
711
jobs:
812
publish:
913
runs-on: ubuntu-latest
@@ -16,9 +20,15 @@ jobs:
1620
with:
1721
node-version: "lts/*"
1822

23+
- name: Git config
24+
run: |
25+
git config user.name "github-actions[bot]"
26+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
27+
1928
- name: Install dependencies
2029
run: npm ci
2130

2231
- name: Publish
2332
run: |
2433
npx vsce publish -p ${{ secrets.PUBLISHER_TOKEN }} patch
34+
git push

0 commit comments

Comments
 (0)