Skip to content

Commit 41b89e8

Browse files
Let bot push to fork
1 parent 0ba649c commit 41b89e8

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/callable-watch.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
original_repository:
77
required: true
88
type: string
9+
push_repository:
10+
required: true
11+
type: string
912
secrets:
1013
token:
1114
required: true
@@ -47,6 +50,7 @@ jobs:
4750
uses: peter-evans/create-pull-request@v4
4851
with:
4952
token: ${{ secrets.BOT_TOKEN }}
53+
push-to-fork: ${{ inputs.push_repository }}
5054
author: Schranz PHP Recipes Bot <[email protected]>
5155
committer: Schranz PHP Recipes Bot <[email protected]>
5256
commit-message: Update recipes ${{ steps.date.outputs.date }}

.github/workflows/watch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ jobs:
1010
uses: schranz-php-recipes/symfony-recipes-php/.github/workflows/callable-watch.yml@main
1111
with:
1212
original_repository: https://github.com/symfony/recipes.git
13+
push_repository: symfony-php-recipes-bot/symfony-recipes-php
1314
secrets:
1415
token: ${{ secrets.BOT_TOKEN }}

0 commit comments

Comments
 (0)