Skip to content

Commit

Permalink
Change CC upload trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBrowne committed Mar 4, 2024
1 parent 7d8c3c4 commit bb28157
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/upload_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
name: Upload code coverage results to Code Climate
name: Upload coverage results to Code Climate

on:
workflow_run:
workflows: ["CI"]
types:
- completed
workflows: [CI]
types: [completed]

jobs:
upload:
runs-on: ubuntu-latest

if: >
(github.event.workflow_run.event == 'pull_request' || github.event.workflow_run.event == 'push') &&
github.event.workflow_run.conclusion == 'success'
if: github.event.workflow_run.conclusion == 'success'
steps:
- name: Fetch coverage report
uses: actions/download-artifact@v4
Expand Down

0 comments on commit bb28157

Please sign in to comment.