Skip to content

Commit

Permalink
Change names of the two covscan jobs
Browse files Browse the repository at this point in the history
Otherwise Github thinks both are required to pass a PR, but actually
only the PR one is as the scheduled scan only runs on a schedule.

Signed-off-by: Simo Sorce <[email protected]>
  • Loading branch information
simo5 committed Apr 10, 2024
1 parent 81bedf4 commit f728bce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverity-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
scheduled:
if: ${{ github.event_name == 'schedule' }}
name: Coverity Scan
name: Recurrent Coverity Scan
runs-on: ubuntu-22.04
container: fedora:latest
steps:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

on-labeled-pr:
if: ${{ contains(github.event.*.labels.*.name, 'covscan') }}
name: Coverity Scan
name: Coverity Scan on PR
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down

0 comments on commit f728bce

Please sign in to comment.