Update test.yml

This commit is contained in:
Kamil Chodoła
2023-04-26 20:46:15 +02:00
committed by GitHub
parent 7a83c41757
commit 00ae5a1e81

View File

@@ -26,7 +26,7 @@ jobs:
with:
workflow: to_be_triggered.yml
token: ${{ secrets.REPOSITORY_DISPATCH_TOKEN }}
ref: main
ref: "${{ inputs.ref || github.ref }}"
- name: Wait for the triggered workflow to complete
run: |
@@ -39,5 +39,5 @@ jobs:
export TIMEOUT="2"
export ORG_NAME="kamilchodola"
export REPO_NAME="wait-for-workflow-action"
export REF="${{ inputs.ref }}"
export REF="${{ inputs.ref || github.ref }}"
./scripts/wait-for-workflow.sh