authors update #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | |
permissions: | |
contents: write # for gr2m/create-or-update-pull-request-action to push local changes | |
pull-requests: write # for gr2m/create-or-update-pull-request-action to create a PR | |
if: github.repository == 'sequelize/sequelize' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
with: | |
fetch-depth: "0" # This is required to actually get all the authors | |
persist-credentials: false | |
- run: "dev/update-authors.js" # Run the AUTHORS tool | |
- uses: gr2m/create-or-update-pull-request-action@df20b2c073090271599a08c55ae26e0c3522b329 # v1.9.2 # Create a PR or update the Action's existing PR | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
author: SequelizeJS <mail@sequelizejs.com> | |
body: > | |
Here are some new additions to the AUTHORS file. | |
This is an automatically generated PR by the | |
`authors.yml` GitHub Action, which runs `dev/update-authors.js`. | |
branch: "actions/authors-update" # Custom branch *just* for this Action. | |
commit-message: "meta: update sequelize AUTHORS" | |
labels: meta | |
title: "meta: update sequelize AUTHORS" |