Skip to content

Commit c3e3691

Browse files
committed
Add success condition to update-readmes job in workflows
1 parent 8d4fd50 commit c3e3691

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/build-deploy-site.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ concurrency:
2323
jobs:
2424
update-readmes:
2525
runs-on: ubuntu-latest
26+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
2627
steps:
2728
- uses: actions/checkout@v5
2829
with:

.github/workflows/update-leetcode-grid.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
jobs:
1515
update-readme:
1616
runs-on: ubuntu-latest
17+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1718

1819
steps:
1920
- name: Checkout repository

0 commit comments

Comments
 (0)