[Snyk] Upgrade fs from 0.0.1-security to 0.0.2 #395
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: Narrator Bot | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: actions/checkout@v2 | |
- uses: actionsx/prettier@v2 | |
with: | |
args: -w . | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: wwosimulation/Narrator-bot | |
token: ${{ secrets.SHADOW_TOKEN }} | |
- name: Pull & update submodules recursively | |
run: | | |
git submodule update --init --recursive | |
git submodule update --recursive --remote | |
- name: Commit | |
run: | | |
git config user.email "actions@github.com" | |
git config user.name "GitHub Actions" | |
git add --all | |
git commit -m "Update submodules" || echo "No changes to commit" | |
git push |