2023-07-07 17:20:36 -04:00
|
|
|
---
|
2023-05-30 06:00:08 -04:00
|
|
|
name: Contributors List
|
|
|
|
|
2023-05-29 12:45:00 -04:00
|
|
|
on:
|
2023-05-30 06:00:08 -04:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2023-05-29 12:45:00 -04:00
|
|
|
schedule:
|
2023-05-30 06:00:08 -04:00
|
|
|
- cron: "0 1 * * *"
|
|
|
|
|
2023-05-29 12:45:00 -04:00
|
|
|
jobs:
|
|
|
|
contributors:
|
2023-05-30 06:00:08 -04:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
pull-requests: write
|
|
|
|
|
2023-05-29 12:45:00 -04:00
|
|
|
runs-on: ubuntu-latest
|
2023-05-30 06:00:08 -04:00
|
|
|
|
2023-05-29 12:45:00 -04:00
|
|
|
steps:
|
2023-05-30 06:00:08 -04:00
|
|
|
- name: Checkout code
|
2023-10-03 01:44:41 -04:00
|
|
|
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
2023-05-30 06:00:08 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
ref: ${{ github.event.repository.default_branch }}
|
|
|
|
|
|
|
|
- name: Update contributors list
|
2023-10-03 01:53:06 -04:00
|
|
|
uses: wow-actions/contributors-list@242b53835016268d20e79eeff6f42193c02be8c8 # v1.2.0
|
2023-05-29 12:45:00 -04:00
|
|
|
with:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2023-05-30 06:00:08 -04:00
|
|
|
svgPath: images/contributors_list.svg
|
2023-05-29 12:45:00 -04:00
|
|
|
round: true
|
2023-05-30 06:00:08 -04:00
|
|
|
includeBots: false
|
|
|
|
noCommit: true
|
|
|
|
|
|
|
|
- name: Commit & PR
|
2023-11-02 10:57:25 -04:00
|
|
|
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
|
2023-05-30 06:00:08 -04:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
add-paths: .github/assets/CONTRIBUTORS.svg
|
|
|
|
commit-message: 'chore: update contributors-list'
|
|
|
|
committer: GitHub <noreply@github.com>
|
|
|
|
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
|
|
|
|
signoff: false
|
|
|
|
branch: workflow/update-contributors-list
|
|
|
|
base: main
|
|
|
|
delete-branch: true
|
|
|
|
title: 'chore: update contributors-list'
|
|
|
|
body: |
|
2023-07-07 17:20:36 -04:00
|
|
|
Automated update to `images/contributors_list.svg`
|