Skip to content

Commit

Permalink
refactor(workflow): 移除 PR 時輸出 Context
Browse files Browse the repository at this point in the history
  • Loading branch information
iwtba4188 committed Dec 11, 2023
1 parent d10421a commit 20856fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/smokeshow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
Context:
if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest

steps:
Expand All @@ -19,7 +20,7 @@ jobs:
run: echo "$GITHUB_CONTEXT"

Smokeshow:
if: ${{ github.event.workflow_run.event == 'push' && github.event.workflow_run.conclusion == 'success' }}
needs: Context
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 20856fb

Please sign in to comment.