Skip to content

Check for new manifest #181000

Check for new manifest

Check for new manifest #181000

# This workflow runs every five minutes to check for a new manifest
name: Check for new manifest
on:
workflow_dispatch:
schedule:
- cron: '*/5 * * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Check for manifest update
run: pnpm manifest:check
env:
API_KEY: ${{ secrets.API_KEY }}
PAT: ${{ secrets.PAT }}
SKIP_CHECK: 'false'
- uses: dorny/paths-filter@v3
id: filter
with:
base: HEAD
filters: |
any:
- '**/*'
- name: Commit latest manifest version
if: ${{ steps.filter.outputs.any == 'true' }}
uses: stefanzweifel/[email protected]
with:
commit_message: new manifest version
commit_user_name: D2 Manifest Bot
commit_user_email: [email protected]
commit_author: D2 Manifest Bot <[email protected]>