Regression: Save no longer works #753
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
on: issue_comment | |
jobs: | |
issue_commented: | |
name: gather-songs | |
if: ${{ !github.event.issue.pull_request && github.event.issue.number == '17' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🍔🍟🥤 | |
uses: actions/[email protected] | |
- name: Use Node.js 😂 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Get Songs 🎶 | |
run: | | |
npm ci | |
npm run update-songs | |
env: | |
NUMBER: ${{ github.event.issue.number }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Commit Songs 💮 | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Update Songs | |
branch: master | |
file_pattern: editor/songs.json | |
commit_user_name: update-songs-bot | |
commit_user_email: [email protected] | |
commit_author: update-songs-bot <[email protected]> | |