Skip to content

Commit

Permalink
👷 misc(CI): add dependencies label to upgrade PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Dec 18, 2024
1 parent 92996d9 commit 551b3d2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/upgrade-deps.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Dependency upgrade

on:
workflow_dispatch:
inputs:
Expand All @@ -8,9 +7,9 @@ on:
required: true
type: choice
options:
- all
- mermaid
- katex
- all
- mermaid
- katex
schedule:
- cron: '32 4 * * *'

Expand Down Expand Up @@ -85,6 +84,6 @@ jobs:
exit 0
fi
git push -u origin deps/upgrade-${{ matrix.dependency }}
gh pr create --fill --base main --head deps/upgrade-${{ matrix.dependency }}
gh pr create --fill --base main --head deps/upgrade-${{ matrix.dependency }} --label "dependencies"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 551b3d2

Please sign in to comment.