Skip to content

update

update #5591

Workflow file for this run

name: update
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- master
paths:
- 'plugin-sources.json'
pull_request:
branches:
- master
paths:
- 'plugin-sources.json'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'master'
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "14"
- name: Install dependencies
run: npm install request
- name: Update source
run: node update-sources.js ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes
run: |
git config user.email github-actions
git config user.name [email protected]
git add .
git commit -m "Plugin update" -a
git push