Skip to content

Update Sponsors

Update Sponsors #125

name: Update Sponsors
on:
schedule:
- cron: '0 9 * * 2'
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@v7
with:
commit-message: "Updating sponsors"
title: "Updating sponsors"
delete-branch: true
branch: update-sponsors