Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/pip/mkdocs-material-9.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
HuangFuSL authored Nov 24, 2023
2 parents 4f81add + 131d264 commit 55bdbad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ on:
jobs:
dependencies:
name: Update dependencies
if: contains(github.event.pull_request.labels.*.name, 'ready') == true
if: >-
contains(github.event.pull_request.labels.*.name, 'ready') == true ||
contains(github.event.pull_request.labels.*.name, 'dependencies') == true
runs-on: self-hosted
permissions:
contents: write
Expand Down Expand Up @@ -38,6 +40,7 @@ jobs:
~/build/bin/python -m pip install -U -r requirements.txt
- name: Merge PR
if: github.event.pull_request.merged == false
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
gh pr merge ${{ github.event.number }} -d -R ${{ github.repository }} --merge
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
make build PYTHON=~/build/bin/python3 TEXINPUTS=$PWD/third_party//: PATH=~/.local/texlive/2023/bin/x86_64-linux:$PATH
- name: Merge PR
if: github.event.pull_request.merged == false
run: |
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
gh pr merge ${{ github.event.number }} -d -R ${{ github.repository }} --merge

0 comments on commit 55bdbad

Please sign in to comment.