Skip to content

Remote Triggered Check #1896

Remote Triggered Check

Remote Triggered Check #1896

Workflow file for this run

name: Remote Triggered Check
on:
# 外部からのトリガー(既存)
repository_dispatch:
types: [run_check]
# 1時間ごとの定期実行(追加)
schedule:
- cron: '0 * * * *'
# 手動での動作確認用(推奨:あると便利です)
workflow_dispatch:
jobs:
inspect:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run Inspection
env:
GH_TOKEN: ${{ github.token }}
run: |
node process_plugins.js
- name: Commit and Push
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add manifest.json readme.json
git diff --quiet && git diff --staged --quiet || (git commit -m "Update missing files list" && git push)