Skip to content

Commit 8bd14c2

Browse files
committed
dev: configure jsonforms-publish bot
Use new jsonforms-publish bot to allow pushing back commits to the protected master branch.
1 parent fdc5c5e commit 8bd14c2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Diff for: .github/workflows/publish.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,15 @@ jobs:
2626
contents: "write"
2727
runs-on: "ubuntu-latest"
2828
steps:
29-
- uses: "actions/checkout@v3"
29+
- uses: "actions/checkout@v4"
30+
with:
31+
persist-credentials: false
3032

3133
- name: "Configure Git Credentials"
3234
run: |
33-
git config user.name "github-actions[bot]"
34-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
35+
git config user.name "jsonforms-publish[bot]"
36+
git config user.email "[email protected]"
37+
git remote set-url origin https://jsonforms-publish:${{ secrets.JSONFORMS_PUBLISH_PAT }}@github.com/eclipsesource/jsonforms.git
3538
3639
- name: "Setup node"
3740
uses: "actions/setup-node@v3"
@@ -85,3 +88,5 @@ jobs:
8588
run: |
8689
git push
8790
git push origin v${{ github.event.inputs.next_version }}
91+
env:
92+
GITHUB_TOKEN: ${{ secrets.JSONFORMS_PUBLISH_PAT }}

0 commit comments

Comments
 (0)