Update Sponsors #104
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
name: Update Sponsors | |
on: | |
schedule: | |
- cron: '0 9 1,8,15,23 * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: crystallang/crystal | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update sponsors | |
run: make update_sponsors | |
# workaround to https://github.com/peter-evans/create-pull-request/issues/1170 | |
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: "Updating sponsors" | |
title: "Updating sponsors" | |
delete-branch: true | |
branch: update-sponsors |