Skip to content

Commit

Permalink
fix: fix commits URL in sync action
Browse files Browse the repository at this point in the history
  • Loading branch information
komret committed Jan 9, 2024
1 parent beb89c7 commit dff77f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bot-suite-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
update-revision-in-suite:
if: github.event_name == 'workflow_dispatch' || github.event.head_commit.committer.username == 'gitbook-bot'

env:
SUITE_REPO: "trezor/trezor-suite"
SUITE_BRANCH: "develop"
Expand Down Expand Up @@ -47,4 +47,4 @@ jobs:

- name: Create pull request
if: github.ref == 'refs/heads/master'
run: gh pr create --repo ${{ env.SUITE_REPO }} --base ${{ env.SUITE_BRANCH }} --head ${{ env.PR_BRANCH }} --title "GitBook revision update" --label "guide" --body "Automatically generated PR to update GitBook revision, i.e. to sync the latest [trezor-suite-guide](https://github.com/${{ github.repository }}) content to Suite. Before merging, check its [commit history](https://github.com/${{ github.repository }}/master). Once the pipeline finishes, you can check the result [here](https://suite.corp.sldev.cz/suite-web/${{ env.PR_BRANCH }}/web/)."
run: gh pr create --repo ${{ env.SUITE_REPO }} --base ${{ env.SUITE_BRANCH }} --head ${{ env.PR_BRANCH }} --title "GitBook revision update" --label "guide" --body "Automatically generated PR to update GitBook revision, i.e. to sync the latest [trezor-suite-guide](https://github.com/${{ github.repository }}) content to Suite. Before merging, check its [commit history](https://github.com/${{ github.repository }}/commits/master). Once the pipeline finishes, you can check the result [here](https://suite.corp.sldev.cz/suite-web/${{ env.PR_BRANCH }}/web/)."

0 comments on commit dff77f0

Please sign in to comment.