Skip to content

Commit

Permalink
dev: configure jsonforms-publish bot
Browse files Browse the repository at this point in the history
Use new jsonforms-publish bot to allow pushing back commits to the
protected master branch.
  • Loading branch information
sdirix committed Dec 15, 2023
1 parent fdc5c5e commit 8bd14c2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
contents: "write"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
persist-credentials: false

- name: "Configure Git Credentials"
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "jsonforms-publish[bot]"
git config user.email "[email protected]"
git remote set-url origin https://jsonforms-publish:${{ secrets.JSONFORMS_PUBLISH_PAT }}@github.com/eclipsesource/jsonforms.git
- name: "Setup node"
uses: "actions/setup-node@v3"
Expand Down Expand Up @@ -85,3 +88,5 @@ jobs:
run: |
git push
git push origin v${{ github.event.inputs.next_version }}
env:
GITHUB_TOKEN: ${{ secrets.JSONFORMS_PUBLISH_PAT }}

0 comments on commit 8bd14c2

Please sign in to comment.