Skip to content

Commit aef0c7f

Browse files
Use repo-scoped token so PRs trigger other workflows
1 parent e419a4a commit aef0c7f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/update-framework.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949

5050
- name: Configure git user
5151
run: |
52-
git config --global user.email "alain.schlesser@gmail.com"
53-
git config --global user.name "Alain Schlesser"
52+
git config --global user.email "info@wp-cli.org"
53+
git config --global user.name "wp-make-coffee"
5454
5555
- name: Check if remote branch exists
5656
run: echo "REMOTE_BRANCH_EXISTS=$([[ -z $(git ls-remote --heads origin update-framework) ]] && echo "0" || echo "1")" >> $GITHUB_ENV
@@ -89,7 +89,7 @@ jobs:
8989
with:
9090
source_branch: update-framework
9191
destination_branch: ${{ github.event.repository.default_branch }}
92-
github_token: ${{ secrets.GITHUB_TOKEN }}
92+
github_token: ${{ secrets.REPO_GITHUB_TOKEN }}
9393
pr_title: Update wp-cli framework
9494
pr_body: "**This is an automated pull-request**\n\nUpdates the `wp-cli/wp-cli` framework to the latest changeset."
9595
pr_label: scope:framework

0 commit comments

Comments
 (0)