mirror of
https://github.com/nodejs/node.git
synced 2026-12-04 02:19:15 -05:00
Refs: https://github.com/nodejs/node/pull/45022#issuecomment-1290397901 PR-URL: https://github.com/nodejs/node/pull/45166 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
name: Authors update
|
|
on:
|
|
schedule:
|
|
# Run once a week at 00:05 AM UTC on Sunday.
|
|
- cron: 5 0 * * 0
|
|
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
authors_update:
|
|
if: github.repository == 'nodejs/node'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: '0' # This is required to actually get all the authors
|
|
persist-credentials: false
|
|
- run: tools/update-authors.mjs # Run the AUTHORS tool
|
|
- uses: gr2m/create-or-update-pull-request-action@dc1726cbf4dd3ce766af4ec29cfb660e0125e8ee
|
|
# Creates a PR or update the Action's existing PR, or
|
|
# no-op if the base branch is already up-to-date.
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }}
|
|
with:
|
|
author: Node.js GitHub Bot <github-bot@iojs.org>
|
|
body: >
|
|
Here are some new additions to the AUTHORS file.
|
|
This is an automatically generated PR by the
|
|
`authors.yml` GitHub Action, which runs `tools/update-authors.mjs`.
|
|
branch: actions/authors-update # Custom branch *just* for this Action.
|
|
commit-message: 'meta: update AUTHORS'
|
|
labels: meta
|
|
title: 'meta: update AUTHORS'
|