Skip to content

Commit

Permalink
Update and rename workflow-job.yaml to workflow-run.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nakamasato authored Nov 24, 2024
1 parent 1e23945 commit 7caa507
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: workflow-job
name: workflow-run

on:
pull_request:
workflow_job:
workflow_run:
workflows: [test-job]
types:
- queued
- requested
- completed
jobs:
test-job:
Expand All @@ -15,7 +15,7 @@ jobs:
id: determine-action
run: |
if [[ "${{ github.event.action }}" == "queud" ]];then
if [[ "${{ github.event.action }}" == "requested" ]];then
echo "action=start" >> "$GITHUB_OUTPUT"
else
echo "action=stop" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 7caa507

Please sign in to comment.