From: Luca BRUNO Date: Wed, 18 Nov 2020 10:24:19 +0000 (+0000) Subject: workflow/release: further refinements X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~5^2~33^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9567a0e91c9529b5c95f6264cab8541922fde64b;p=ostree.git workflow/release: further refinements 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. --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2cf3f5a..77a5bda3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ name: Release on: pull_request: branches: [master] + paths: + - 'configure.ac' jobs: ci-release-build: @@ -14,6 +16,7 @@ jobs: - name: Clone repository uses: actions/checkout@v2 with: + ref: ${{ github.event.pull_request.head.sha }} submodules: 'recursive' fetch-depth: '0' - name: Checkout (HEAD)