mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-04-28 16:38:12 +00:00
d51e3efe32
* fix: use pinned step versions and set workflow permissions * fix: use contents write in sponsors list action
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
name: Generate Sponsors List
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
generate-sponsors:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Generate Sponsors
|
|
uses: JamesIves/github-sponsors-readme-action@2fd9142e765f755780202122261dc85e78459405 # v1
|
|
with:
|
|
token: ${{ secrets.SPONSORS_GENERATOR_PAT }}
|
|
active-only: false
|
|
file: "README.md"
|
|
template: '<a href="https://github.com/{{{ login }}}"><img src="{{{ avatarUrl }}}" width="64px" alt="User avatar: {{{ login }}}" /></a> '
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: |
|
|
docs: regenerate readme sponsors list
|
|
committer: GitHub <noreply@github.com>
|
|
author: GitHub <noreply@github.com>
|
|
branch: docs/update-readme
|
|
title: |
|
|
docs: regenerate readme sponsors list
|
|
labels: bot
|