This tweaks the release GH workflow further so that it only triggers
when the `configure.ac` file (which owns the version) changes.
Plus it properly checkouts the PR branch to avoid wrongly looking
at a synthetic merge commit.
on:
pull_request:
branches: [master]
+ paths:
+ - 'configure.ac'
jobs:
ci-release-build:
- name: Clone repository
uses: actions/checkout@v2
with:
+ ref: ${{ github.event.pull_request.head.sha }}
submodules: 'recursive'
fetch-depth: '0'
- name: Checkout (HEAD)