Skip to content

Commit

Permalink
Update workflow-run.yaml (#1776)
Browse files Browse the repository at this point in the history
* Update workflow-run.yaml

* Update workflow-run.yaml
  • Loading branch information
nakamasato authored Nov 24, 2024
1 parent 1e22f74 commit 85df685
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/workflow-run.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
name: workflow-run

on:
pull_request:
workflow_run:
workflows: [test-job]
workflows: [pull-request-and-push-to-main]
types:
- requested
- completed
jobs:
test-job:
run:
runs-on: ubuntu-latest
steps:
- name: "Determine action ${{ github.event.action }}"
Expand All @@ -21,7 +20,3 @@ jobs:
fi
- name: "echo ${{ github.event.action }} ${{ steps.determine-action.outputs.action }}"
run: echo "${{ steps.determine-action.outputs.action }}"
other-job:
runs-on: ubuntu-latest
steps:
- run: echo running

0 comments on commit 85df685

Please sign in to comment.