Skip to content

Commit

Permalink
added '\!cancelled() &&' to statement
Browse files Browse the repository at this point in the history
  • Loading branch information
brucehoff committed Nov 5, 2024
1 parent cb07a62 commit ef48931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy_periodic_image_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
update-image:
needs: periodic-scan
runs-on: ubuntu-latest
if: ${{needs.periodic-scan.outputs.trivy_conclusion == 'failure' }}
if: ${{!cancelled() && needs.periodic-scan.outputs.trivy_conclusion == 'failure' }}
# tag the repo to trigger a new build
steps:
- name: Bump version and push tag
Expand Down

0 comments on commit ef48931

Please sign in to comment.