Skip to content

Check plugin updates #865

Check plugin updates

Check plugin updates #865

Workflow file for this run

name: Check plugin updates
on:
schedule:
- cron: '0 0 * * *' # every day at midnight
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: npm install
working-directory: ./tools
- name: Restore correct mtime
run: |
sudo apt install git-restore-mtime
git restore-mtime
- name: Set force environment variable if manually triggered
if: github.event_name == 'workflow_dispatch'
run: echo "FORCE_RENDER=true" >> $GITHUB_ENV
- 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 }}