Skip to content

Commit fd75d04

Browse files
committed
Updated needs for each job
1 parent a1f1e06 commit fd75d04

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/dot-org-content.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,33 @@ jobs:
4242
move-generated-files:
4343
name: Move generated markdown files to '/content/nginx' directory
4444
if: needs.detect-changes.outputs.IS_CHANGES_DETECTED
45-
needs: execute-make
45+
needs: detect-changes
4646
runs-on: ubuntu-latest
4747
steps:
4848
- name: Move the generated folder
4949
run: |
50-
mv dot-org-repo/libxslt-md/ ./content/nginx/
50+
mv dot-org-repo/libxslt-md/ ./content/nginx/
5151
5252
close-stale-PRs:
5353
name: Close any related stale PRs
54+
needs: move-generated-files
5455
runs-on: ubuntu-latest
5556
steps:
5657
- name: Check for any stale PRs
5758
id: check-stale-pr
5859
run: |
60+
"PLACEHOLDER"
5961
6062
- name: Close relevant PR if any exists
6163
if: steps.check-stale-pr.outputs.IS_STALE_FOUND == 'true'
6264
run: |
65+
"PLACEHOLDER"
6366
6467
6568
create-PR:
6669
name: Create PR in documentation repository
6770
if: needs.detect-changes.outputs.IS_CHANGES_DETECTED
68-
needs: move-generated-files
71+
needs: close-stale-PRs
6972
runs-on: ubuntu-latest
7073
steps:
7174
- name: Generate the PR

0 commit comments

Comments
 (0)