Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

Commit af91f45

Browse files
committed
ci: don't release on file deletion
1 parent 7fed4f8 commit af91f45

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,14 +49,15 @@ 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
5656
Dockerfile
5757
*.dockerfile
5858
.dockerignore
5959
base: ${{ steps.latest.outputs.latest }}
60+
ignore-removed: true
6061

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

0 commit comments

Comments
 (0)