Check for new manifest #75958
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
# This workflow runs every five minutes to check for a new manifest | |
name: Check for new manifest | |
on: | |
schedule: | |
- cron: '*/5 * * * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
cache: yarn | |
- name: Install | |
run: yarn install --frozen-lockfile --prefer-offline | |
- name: Check for manifest update | |
run: yarn manifest:check | |
env: | |
NETLIFY_HOOK_URL: ${{ secrets.NETLIFY_HOOK_URL }} | |
SKIP_CHECK: 'false' | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
base: HEAD | |
filters: | | |
any: | |
- '**/*' | |
- name: Commit latest manifest version | |
if: ${{ steps.filter.outputs.any == 'true' }} | |
uses: stefanzweifel/git-auto-commit-action@v4.7.2 | |
with: | |
commit_message: new manifest version | |
commit_user_name: D2 Arsenal Manifest Bot | |
commit_user_email: bot@d2arsenal.com | |
commit_author: D2 Arsenal Manifest Bot <bot@d2arsenal.com> |