Skip to content

js code can access the global scope and do anything #734

js code can access the global scope and do anything

js code can access the global scope and do anything #734

Workflow file for this run

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]>