Skip to content

Commit

Permalink
Fix error when removing nonexistent artifact (#339)
Browse files Browse the repository at this point in the history
* Fix error when removing nonexistent artifact

* Limit "Dependency Review" job to PRs
  • Loading branch information
TylerHendrickson authored Sep 18, 2023
1 parent 5924ef2 commit 5bd7d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ jobs:
- name: Prepare artifacts output directory
run: |
mkdir -p $(dirname $ARTIFACTS_PATH)
rm "$ARTIFACTS_PATH"
rm -f "$ARTIFACTS_PATH"
- name: Build CLI
id: build
run: task build-cli
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/code-scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
Expand Down

0 comments on commit 5bd7d4f

Please sign in to comment.