Check Metadata Updates #6
This file contains hidden or 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: Check Metadata Updates | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| detailed_output: | |
| description: 'Show detailed file changes' | |
| required: false | |
| default: true | |
| type: boolean | |
| jobs: | |
| check-updates: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| run: | | |
| npm install @octokit/rest | |
| npm install axios | |
| - name: Check metadata for updates | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DETAILED_OUTPUT: ${{ inputs.detailed_output }} | |
| run: node .github/scripts/check-updates.mjs |