Create PR for new League Patch #911
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: Create PR for new League Patch | |
on: | |
schedule: [{cron: "0 4 * * *"}] | |
workflow_dispatch: | |
jobs: | |
push_to_branch_and_create_pr: | |
name: Create PR for new League Patch | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: Check out current commit | |
- id: patch | |
name: Get patch info | |
uses: marvinscham/[email protected] | |
- name: Update patch in README shield | |
run: sed -i "s/league%20patch-.*-brightgreen/league%20patch-${{ steps.patch.outputs.patch }}-brightgreen/g" README.md | |
shell: bash | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
with: | |
commit-message: Bump League Patch to ${{ steps.patch.outputs.patch }} | |
title: Bump League Patch to ${{ steps.patch.outputs.patch }} | |
body: | | |
Review criteria: | |
- [ ] Disenchanter can connect and issue actions | |
This is an automated PR. | |
<sub>[workflow](https://github.com/marvinscham/disenchanter/blob/master/.github/workflows/league-patch.yml).</sub> | |
branch: update-league-patch | |
labels: documentation, tests needed |