Check plugin updates #453
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: Check plugin updates | |
on: | |
schedule: | |
- cron: '0 0 * * *' # every day at midnight | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Dependencies | |
run: npm install | |
working-directory: ./tools | |
- name: Update plugins list | |
run: npm run update-all | |
working-directory: ./tools | |
- name: Commit & Push changes | |
uses: Andro999b/push@v1.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |