Skip to content

Commit

Permalink
Rename workflows and jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Dec 25, 2024
1 parent 8301f57 commit d31a087
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/auto_retrieve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,41 +12,41 @@ jobs:
# ${{ ! cancelled() }}

# This condition prevents the job from running if the test job failed
# ${{ needs.test.result == 'success' }}
# ${{ needs.test-functions.result == 'success' }}

test:
test-functions:
uses: ./.github/workflows/test_functions.yml

build-nsfw:
needs: test
needs: test-functions
if: ${{ ! cancelled() }}
uses: ./.github/workflows/build_nsfw.yml

retrieve-domains:
needs: [test, build-nsfw]
if: ${{ ! cancelled() && needs.test.result == 'success' }}
needs: [test-functions, build-nsfw]
if: ${{ ! cancelled() && needs.test-functions.result == 'success' }}
uses: ./.github/workflows/retrieve_domains.yml
secrets: inherit

check-dead:
needs: [test, retrieve-domains]
if: ${{ ! cancelled() && needs.test.result == 'success' }}
needs: [test-functions, retrieve-domains]
if: ${{ ! cancelled() && needs.test-functions.result == 'success' }}
uses: ./.github/workflows/check_dead.yml

check-parked:
needs: [test, check-dead]
if: ${{ ! cancelled() && needs.test.result == 'success' }}
needs: [test-functions, check-dead]
if: ${{ ! cancelled() && needs.test-functions.result == 'success' }}
uses: ./.github/workflows/check_parked.yml

validate:
needs: [test, check-parked]
if: ${{ ! cancelled() && needs.test.result == 'success' }}
needs: [test-functions, check-parked]
if: ${{ ! cancelled() && needs.test-functions.result == 'success' }}
uses: ./.github/workflows/validate_domains.yml
secrets: inherit

build:
needs: [test, validate]
if: ${{ ! cancelled() && needs.test.result == 'success' }}
needs: [test-functions, validate]
if: ${{ ! cancelled() && needs.test-functions.result == 'success' }}
uses: ./.github/workflows/build_lists.yml

prune-logs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check_pending.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check if there are pending domains
run-name: Check if there are pending domains
name: Check pending domains
run-name: Check pending domains
on:
workflow_dispatch:
schedule:
Expand Down

0 comments on commit d31a087

Please sign in to comment.