Skip to content

Commit

Permalink
Fix Sponsors GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Oct 10, 2024
1 parent d859d9b commit 10e25f8
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Sponsors

on:
push:
branches: [ '**' ]
pull_request:
branches: [ '**' ]
schedule:
- '0 0 15 * *'
- cron: '0 0 15 * *'

jobs:
tests:
sponsors:
name: Update readme

runs-on: ubuntu-latest

steps:
- name: Checkout the code
uses: actions/checkout@v4
with:
ref: master

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down Expand Up @@ -44,11 +44,17 @@ jobs:
max_attempts: 3
command: composer update --prefer-dist --no-progress --prefer-stable

- name: Run test suite
- name: Update sponsors on readme.md
run: composer sponsors

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: update-sponsors
commit-message: Update sponsors
title: Update sponsors
body: Monthly automated sponsors update
assignees: kylekatarnls
reviewers: kylekatarnls
add-paths: |
readme.md

0 comments on commit 10e25f8

Please sign in to comment.