Experiment with calling a sub workflow #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test notification on sub workflow | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- '*' | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: sleep 10 | ||
- uses: ./.github/workflows/notify-slack.yml | ||
secrets: inherit | ||
Check failure on line 22 in .github/workflows/test-notify.yaml GitHub Actions / Test notification on sub workflowInvalid workflow file
|
||
with: | ||
run_id: ${{ env.GITHUB_RUN_ID }} | ||
test-integration: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: sleep 30 | ||
- uses: ./.github/workflows/notify-slack.yml | ||
secrets: inherit | ||
with: | ||
run_id: ${{ env.GITHUB_RUN_ID }} | ||
build-and-push: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: sleep 60 | ||
- uses: ./.github/workflows/notify-slack.yml | ||
secrets: inherit | ||
with: | ||
run_id: ${{ env.GITHUB_RUN_ID }} |