From 85df6856e86587494aca395aa318bba458bddc2e Mon Sep 17 00:00:00 2001 From: Naka Masato Date: Mon, 25 Nov 2024 07:26:38 +0900 Subject: [PATCH] Update workflow-run.yaml (#1776) * Update workflow-run.yaml * Update workflow-run.yaml --- .github/workflows/workflow-run.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/workflow-run.yaml b/.github/workflows/workflow-run.yaml index f87991d0..4e5c73da 100644 --- a/.github/workflows/workflow-run.yaml +++ b/.github/workflows/workflow-run.yaml @@ -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 }}" @@ -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