Checkout non-merge commit in CI

This commit is contained in:
link2xt
2025-06-04 20:00:04 +00:00
committed by l
parent 4b721bfcd4
commit 6bc751213f

View File

@@ -10,6 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Checkout pull request HEAD commit instead of merge commit
# Otherwise `test_deployed_state` will be unhappy.
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: run chatmaild tests
working-directory: chatmaild