Skip to content

Commit 9a9dc54

Browse files
committed
ci: don't release on file deletion
1 parent 2dc657e commit 9a9dc54

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
echo "latest=$LATEST" | tee "$GITHUB_OUTPUT"
5050
5151
- id: should-release
52-
uses: amezin/compare-commit-files-action@4bfd343535626a745cc7fc8f5e9b60a8b87f5a45 # v2.0.0
52+
uses: amezin/detect-changes-action@27a74106815e1e2a9e93a0a28f278736fd144c24 # v2.2.0
5353
with:
5454
files: |
5555
# Don't autorelease on CI changes. If necessary, a release can be created manually
@@ -58,6 +58,7 @@ jobs:
5858
data/**
5959
scripts/**
6060
base: ${{ steps.latest.outputs.latest }}
61+
ignore-removed: true
6162

6263
- if: ${{ !inputs.dry-run && fromJSON(steps.should-release.outputs.changed) }}
6364
run: gh release create "$VERSION" --target "$GITHUB_SHA" --generate-notes --fail-on-no-commits --notes-start-tag "$LATEST"

0 commit comments

Comments
 (0)