Skip to content

Commit 259f80d

Browse files
authored
Merge pull request #169 from scipp/MridulS-patch-2
Use an actual bot to send in the copier bots
2 parents 7afbc9a + 8a03cac commit 259f80d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

template/.github/workflows/copier.yml template/.github/workflows/copier.yml.jinja

+6
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ jobs:
1616
python-version: '3.X'
1717
- run: pip install copier
1818
- run: copier update --skip-answered --vcs-ref=HEAD --conflict=rej
19+
# The PR is created by a machine account (scipp-bot) and it is pushed to it's own fork
20+
# to make sure we don't grant too much access to this bot account.
21+
# More details are available at:
22+
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-pull-request-branches-to-a-fork
1923
- name: Create Pull Request
2024
uses: peter-evans/create-pull-request@v6
2125
with:
26+
token: {{ '${{ secrets.SCIPP_BOT_PAT }}' }}
27+
push-to-fork: scipp-bot/{{projectname}}
2228
title: '[CRON] Sync with copier template'
2329
body: |
2430
This PR updates the project to the latest version of scipp's [copier-template](https://github.com/scipp/copier_template).

0 commit comments

Comments
 (0)