Skip to content

Commit 5edcc25

Browse files
committed
Update workflow job condition
1 parent c559c9f commit 5edcc25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/markdown_equations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
# Define a display name:
4040
name: 'Update equations'
4141

42-
# Only run this job if the pull request was merged:
43-
if: github.event.pull_request.merged == true
42+
# Only run this job if the pull request was merged and did not have label `automated-pr`:
43+
if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'automated-pr') == false
4444

4545
# Define the type of virtual host machine:
4646
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)