Skip to content

Commit

Permalink
Only run workflow for pull_requests
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Wolf <github@christianwolf.email>
  • Loading branch information
christianlupus committed Oct 16, 2021
1 parent d85169f commit c7bdd5b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/publish-test-results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ jobs:
runs-on: ubuntu-latest
name: Test results
if: >-
github.event.workflow_run.conclusion != 'skipped'
github.event.workflow_run.conclusion != 'skipped' &&
github.event.workflow_run.event == 'pull_request'
steps:
# - name: Debug output
# env:
# EVENT: ${{ toJSON(github.event) }}
# run: |
# echo "$EVENT"

- name: Download and Extract Artifacts
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit c7bdd5b

Please sign in to comment.