Add in QRCode Quickchart (#186) #86
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 plugin count | |
on: | |
#pull_request: | |
push: | |
branches: | |
- main | |
paths: | |
- 'README.md' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Update README | |
run: ruby .github/scripts/parse.rb | |
- name: Commit and push if README changed | |
run: |- | |
git diff | |
git config user.name "Awesome YOURLS Robot" | |
git config user.email "[email protected]" | |
git add -A | |
git commit -m "Update plugin count" || exit 0 | |
git push |