There was an error while loading. Please reload this page.
1 parent 7aa1b9f commit 0e5f6e2Copy full SHA for 0e5f6e2
1 file changed
.github/workflows/dkms-build.yml
@@ -99,14 +99,14 @@ jobs:
99
echo "Packaging version: ${PACKAGING}"
100
echo "Upstream version: ${UPSTREAM}"
101
102
- # Version drift is expected on PR runs, not in release builds
+ # Version drift is expected until release, so only branch builds allow it
103
- name: Build source + binary package in a clean container
104
id: build
105
env:
106
IMAGE: ${{ inputs.container-image }}
107
PKG: ${{ steps.version.outputs.package }}
108
UPSTREAM: ${{ steps.version.outputs.upstream }}
109
- DRIFT_GUARD: ${{ github.event_name == 'pull_request' && 'warn' || 'fail' }}
+ DRIFT_GUARD: ${{ github.ref_type == 'branch' && 'warn' || 'fail' }}
110
run: |
111
set -euo pipefail
112
docker run --rm -e PKG -e UPSTREAM -e DRIFT_GUARD \
0 commit comments