Skip to content

Commit

Permalink
feat: add workflow-tester89
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume Falourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Sep 19, 2023
1 parent c753c6f commit 0a996ee
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/workflow-tester89.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Test 89 # Related to SO: https://stackoverflow.com/questions/77133952/reusable-workflows-should-be-referenced-at-the-top-level-jobs-uses-key-not
on:
push:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
bd_scan:
runs-on: ubuntu-latest
outputs:
day: ${{ steps.check_day.outputs.day }}
steps:
- name: Check Day of the Week
id: check_day
run: echo "::set-output name=day::$(date +%u)"

reusable:
needs: [bd_scan]
if: ${{ needs.bd_scan.outputs.day < '5' }}
uses: GuillaumeFalourd/poc-github-actions/.github/workflows/workflow-tester88-reusable.yml@main
with:
stage: ${{ needs.bd_scan.outputs.day }}
secrets: inherit

0 comments on commit 0a996ee

Please sign in to comment.