Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
ci(GITHUB): test remote workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jun 4, 2023
1 parent f0becc4 commit 2dc6e50
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 77 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/.job-00-start.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/.job-00-success.yml

This file was deleted.

16 changes: 11 additions & 5 deletions .github/workflows/workflow-template-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,26 @@ jobs:
source "./{{cookiecutter.project_slug}}/.github/scripts/workflow-set-value.sh" cat "cookiecutter.json"
start:
uses: ./.github/workflows/.job-00-start.yml
secrets: inherit
uses: niall-byrne/cicd-tools/.github/workflows/.job-00-notification.yml@master
with:
NOTIFICATION_EMOJI: ":white_check_mark:"
NOTIFICATION_MESSAGE: "workflow has started!"

success:
needs: [create_release]
uses: ./.github/workflows/.job-00-success.yml
needs: [start]
secrets: inherit
uses: niall-byrne/cicd-tools/.github/workflows/.job-00-notification.yml@master
with:
NOTIFICATION_EMOJI: ":checkered_flag:"
NOTIFICATION_MESSAGE: "workflow has completed successfully!"

security_test:
needs: [configuration]
uses: ./.github/workflows/.job-10-security.yml
secrets: inherit
uses: niall-byrne/cicd-tools/.github/workflows/.job-10-security.yml@master
with:
CONFIGURATION: ${{ needs.configuration.outputs.configuration }}
secrets: inherit

documentation_test:
needs: [configuration]
Expand Down

0 comments on commit 2dc6e50

Please sign in to comment.