-
Notifications
You must be signed in to change notification settings - Fork 153
31 lines (28 loc) · 1.33 KB
/
update-contributors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: update-contributors
on:
workflow_dispatch:
schedule:
- cron: "00 3 1 * *" # 3:00(UTC) on the 1st day of every month
jobs:
updateContributors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- run: |
make gen/contributions
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # `gh` command requires this token.
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: "[bot] Update contributors"
commit-message: "[bot] Update contributors"
branch: "create-pull-request/update-contributors"
body: |
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action.
The workflow is defined [here](https://github.com/pipe-cd/pipecd/blob/master/.github/workflows/update-contributors.yaml).
**Note:** You need to **close and reopen this PR** manually to trigger status check workflows. (Or just click `Update branch` if possible.)
For details, see https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs.
delete-branch: true
signoff: true
token: ${{ secrets.GITHUB_TOKEN }}