Skip to content

Update Sponsors

Update Sponsors #96

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