Skip to content

Commit c968372

Browse files
bnbtargos
authored andcommitted
build: add authors.yml
PR-URL: #35831 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 8c50d16 commit c968372

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/authors.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "authors update"
2+
on:
3+
workflow_dispatch:
4+
5+
jobs:
6+
authors_update:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: '0' # this is required to actually get all the authors
12+
- run: "tools/update-authors.js" # run the AUTHORS tool
13+
- uses: gr2m/create-or-update-pull-request-action@v1 # create a PR or update the Action's existing PR
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
with:
17+
title: "meta: update AUTHORS"
18+
body: "If this PR exists, there's presumably new additions to the AUTHORS file. This is an automatically generated PR by the `authors.yml` GitHub Action, which runs `tools/update-authors.js` and submits a new PR or updates an existing PR.\n\nPlease note that there might be duplicate entries. If there are, please remove them and add the duplicate emails to .mailmap directly to this PR."
19+
branch: "actions/authors-update" # custom branch *just* for this Action.
20+
commit-message: "meta: update AUTHORS"
21+
labels: meta

0 commit comments

Comments
 (0)