Skip to content

Commit 35f9e3a

Browse files
authored
Update sync workflow for pull request creation
Added GITHUB_TOKEN environment variable for pull request action and removed unnecessary parameters.
1 parent e3edc31 commit 35f9e3a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/sync.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ jobs:
6868
- name: Create pull request
6969
if: steps.check.outputs.changed == 'true'
7070
uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b # v1.10.1
71+
env:
72+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7173
with:
7274
commit-message: "chore: sync webpack docs to ${{ steps.latest.outputs.latest }}"
7375
title: "chore: sync webpack docs to ${{ steps.latest.outputs.latest }}"
@@ -77,8 +79,3 @@ jobs:
7779
- Latest webpack commit: ${{ steps.latest.outputs.latest }}
7880
- Previous commit: ${{ steps.latest.outputs.current }}
7981
branch: "chore/sync-webpack"
80-
base: "main"
81-
update-branch: true
82-
add-paths: |
83-
HEAD_COMMIT
84-
pages/

0 commit comments

Comments
 (0)