Check for new manifest #193766
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: | |
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/git-auto-commit-action@v5.0.1 | |
with: | |
commit_message: new manifest version | |
commit_user_name: D2 Manifest Bot | |
commit_user_email: destinyitemmanager@gmail.com | |
commit_author: D2 Manifest Bot <destinyitemmanager@gmail.com> |