authors.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. name: 'authors update'
  2. on:
  3. schedule:
  4. # Run once a week at 00:05 AM UTC on Sunday.
  5. - cron: '5 0 * * 0'
  6. workflow_dispatch:
  7. permissions:
  8. contents: read
  9. jobs:
  10. authors_update:
  11. permissions:
  12. contents: write # for gr2m/create-or-update-pull-request-action to push local changes
  13. pull-requests: write # for gr2m/create-or-update-pull-request-action to create a PR
  14. if: github.repository == 'sequelize/sequelize'
  15. runs-on: ubuntu-latest
  16. steps:
  17. - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  18. with:
  19. fetch-depth: '0' # This is required to actually get all the authors
  20. persist-credentials: false
  21. - run: 'dev/update-authors.js' # Run the AUTHORS tool
  22. - uses: gr2m/create-or-update-pull-request-action@b65137ca591da0b9f43bad7b24df13050ea45d1b # Create a PR or update the Action's existing PR
  23. env:
  24. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  25. with:
  26. author: SequelizeJS <mail@sequelizejs.com>
  27. body: >
  28. Here are some new additions to the AUTHORS file.
  29. This is an automatically generated PR by the
  30. `authors.yml` GitHub Action, which runs `dev/update-authors.js`.
  31. branch: 'actions/authors-update' # Custom branch *just* for this Action.
  32. commit-message: 'meta: update sequelize AUTHORS'
  33. labels: meta
  34. title: 'meta: update sequelize AUTHORS'