File size: 1,460 Bytes
cc4fc0a
aeb2510
 
6ef6b32
aeb2510
 
6ef6b32
aeb2510
 
6ef6b32
 
aeb2510
 
 
 
6ef6b32
aeb2510
6ef6b32
aeb2510
89e5895
aeb2510
 
 
 
 
c324c74
6ef6b32
 
aeb2510
6ef6b32
aeb2510
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cc4fc0a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
name: Contributors List

on:
  workflow_dispatch:
  
  schedule:
    - cron: "0 1 * * *"

jobs:
  contributors:
    permissions:
      contents: write
      pull-requests: write

    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
        with:
          fetch-depth: 0
          ref: ${{ github.event.repository.default_branch }}
          
      - name: Update contributors list
        uses: wow-actions/contributors-list@242b53835016268d20e79eeff6f42193c02be8c8 # v1.2.0
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          svgPath: images/contributors_list.svg
          round: true
          includeBots: false
          noCommit: true
      
      - name: Commit & PR
        uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4.2.4
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          add-paths: .github/assets/CONTRIBUTORS.svg
          commit-message: 'chore: update contributors-list'
          committer: GitHub <[email protected]>
          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: |
            Automated update to `images/contributors_list.svg`