Skip to content

Update plugins

Update plugins #372

Workflow file for this run

name: Update plugins
on:
schedule:
- cron: '8 14 * * *'
workflow_dispatch:
jobs:
update-plugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- name: Update plugins.json
run: DEBUG=1 ruby scripts/plugins.rb
- name: Commit files
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}"@users.noreply.github.com
git add scripts/plugins.json
git commit -m "Update plugins.json" && echo "Need to update" || echo "No need to update"