镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Commit 5e1cba8

Browse files
bnbtargos
authored andcommitted
build: add authors.yml
PR-URL: #35831 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 7b123ec commit 5e1cba8

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

‎.github/workflows/authors.yml‎

Lines changed: 21 additions & 0 deletions
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)