Skip to content

Commit 50e6a23

Browse files
authored
Merge pull request #1062 from metacpan/haarg/update-snapshot-via-bot
Use metacpan-bot when creating snapshot update PRs
2 parents 5af922f + 604ea89 commit 50e6a23

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update-snapshot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
image: perl:5.36
1111
steps:
1212
- uses: actions/checkout@v2
13+
with:
14+
token: ${{ secrets.METACPAN_BOT_TOKEN }}
1315
- name: Install Carton
1416
run: >
1517
curl -fsSL --compressed https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl -
@@ -26,12 +28,16 @@ jobs:
2628
- name: Maybe update cpanfile.snapshot
2729
run: carton
2830
- name: Create Pull Request
29-
uses: peter-evans/create-pull-request@v3
31+
uses: peter-evans/create-pull-request@v3.8.2
3032
with:
33+
token: ${{ secrets.METACPAN_BOT_TOKEN }}
3134
commit-message: Update cpanfile.snapshot
3235
title: Update cpanfile.snapshot
36+
author: MetaCPAN Bot <[email protected]>
37+
committer: MetaCPAN Bot <[email protected]>
3338
body: |
3439
Auto-generated by [create-pull-request][1]
3540
3641
[1]: https://github.com/peter-evans/create-pull-request
42+
push-to-fork: metacpan-bot/metacpan-api
3743
branch: update-cpanfile-snapshot

0 commit comments

Comments
 (0)