Specifying branch name source from refs/heads for fast forwarding (#3… #681
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see https://github.com/JamesIves/github-sponsors-readme-action | |
name: Generate Sponsors README | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.SPONSORS_TOKEN }} | |
file: "README.md" | |
if: ${{ github.repository == 'jesseduffield/lazygit' }} | |
- name: Create Pull Request 🚀 | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "README.md: Update Sponsors" | |
title: "README.md: Update Sponsors" | |
author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" | |
labels: "ignore-for-release" | |
delete-branch: true |