Skip to content

Commit 126e076

Browse files
committed
Fix(workflow): Use correct token
1 parent 9478256 commit 126e076

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/update-plugins.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
3838
- name: Close Old Pull Requests for this Plugin
3939
env:
40-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GH_TOKEN: ${{ secrets.STORE_AUTOMATION_TOKEN }}
4141
PLUGIN_NAME: ${{ steps.plugin_info.outputs.name }}
4242
run: |
4343
# Search for any open PRs originating from a branch that belongs to this specific plugin
@@ -51,7 +51,7 @@ jobs:
5151
- name: Create New Pull Request
5252
uses: peter-evans/create-pull-request@v6
5353
with:
54-
token: ${{ secrets.GITHUB_TOKEN }}
54+
token: ${{ secrets.STORE_AUTOMATION_TOKEN }}
5555
commit-message: "update(${{ steps.plugin_info.outputs.name }}): update hash for ${{ github.event.client_payload.version }}"
5656
title: "Update ${{ steps.plugin_info.outputs.name }} to ${{ github.event.client_payload.version }}"
5757
body: |

0 commit comments

Comments
 (0)