Updating plugin directory from source repositories #22257
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: Plugin Directory Updater | |
run-name: Updating plugin directory from source repositories | |
on: | |
push: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
update-plugins: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run script to update plugins | |
run: node .github/scripts/check-plugins.js | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
add-paths: src/lib/plugins/plugins.json | |
title: "Automated updates to plugin directory" |