kaneo (minimalist kanban) fork to experiment adding a tangled integration
github.com/usekaneo/kaneo
1name: Update Contributors
2
3on:
4 workflow_dispatch:
5 schedule:
6 - cron: '0 0 * * 0'
7 push:
8 branches:
9 - main
10 paths:
11 - '.github/FUNDING.yml'
12
13jobs:
14 update-contributors:
15 runs-on: ubuntu-latest
16 permissions:
17 contents: write
18 pull-requests: write
19
20 steps:
21 - name: Checkout repository
22 uses: actions/checkout@v6
23
24 - name: Generate Contributors Images
25 uses: jaywcjlove/github-action-contributors@main
26 with:
27 token: ${{ secrets.GITHUB_TOKEN }}
28 filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
29 output: CONTRIBUTORS.svg
30 avatarSize: 42
31
32 - name: Generate Sponsors Section
33 if: ${{ github.repository_owner == 'usekaneo' }}
34 uses: JamesIves/github-sponsors-readme-action@v1
35 with:
36 token: ${{ secrets.GH_ANDREJ }}
37 file: 'README.md'
38 minimum: 1
39 marker: sponsors
40
41 - name: Commit and Push Changes
42 run: |
43 git config --local user.email "github-actions[bot]@users.noreply.github.com"
44 git config --local user.name "github-actions[bot]"
45 git add CONTRIBUTORS.svg README.md
46 git commit -m "docs: update contributors and sponsors" || exit 0
47 git push