Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/preview-env-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ jobs:
- name: Delete inactive deployments
env:
GH_TOKEN: ${{ github.token }}
run: scripts/ci/prune-deployments.sh "$GITHUB_REPOSITORY" --apply
# `bash <script>`, not `./<script>`: the scripts are committed from trees
# with core.fileMode=false (the workspace's NAS rule), where a chmod
# never reaches git, so the executable bit cannot be relied on. v3.7.1's
# first run on main failed both jobs with exit 126 for exactly that.
run: bash scripts/ci/prune-deployments.sh "$GITHUB_REPOSITORY" --apply

environments:
name: Delete stale preview environments
Expand All @@ -110,4 +114,4 @@ jobs:
echo "$msg" >> "$GITHUB_STEP_SUMMARY"
exit 0
fi
scripts/ci/prune-preview-environments.sh "$GITHUB_REPOSITORY" --apply
bash scripts/ci/prune-preview-environments.sh "$GITHUB_REPOSITORY" --apply
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ cycle-accurate core later replaced.

## [Unreleased]

### Fixed

- **The preview-deployment cleanup runs at all.** Its first run on `main`
(v3.7.1's merge) failed both jobs with exit 126: the two scripts were
committed without the executable bit, because the trees they came from have
`core.fileMode=false`, so a `chmod` never reached git. The workflow now runs
them with `bash`, and the bit is set in git too.

## [3.7.1] - 2026-11-15 - "Imprint" (every file labelled with its holder and licence, the notices the apps owe, the MiSTer core's FDS and battery-save fixes, and a fresh spectator id per hosted match)

### Changed
Expand Down
Empty file modified scripts/ci/prune-deployments.sh
100644 → 100755
Empty file.
Empty file modified scripts/ci/prune-preview-environments.sh
100644 → 100755
Empty file.
Loading