summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2020-11-16 17:08:52 +0000
committerLuca BRUNO <luca.bruno@coreos.com>2020-11-16 17:13:47 +0000
commitee57fe2821b4c0c5aedfa9a47d5ef89d6c0e0350 (patch)
tree0d148ca83bce1b9d124f856a3f15d6e6feea30d1 /.github
parent1ac80fa78259af54bc3774190eb798acd9b9e9db (diff)
downloadostree-ee57fe2821b4c0c5aedfa9a47d5ef89d6c0e0350.tar.gz
workflows/release: pattern-match on PR title
This adds an additional condition in order to run sanity check all PRs starting with `Release` (case-insensitive).
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7189a976..b2cf3f5a 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1,15 +1,14 @@
---
-name: Release sanity
+name: Release
on:
pull_request:
branches: [master]
- types: [labeled]
jobs:
ci-release-build:
name: "Sanity check release commits"
- if: ${{ github.event.label.name == 'kind/release' }}
+ if: ${{ github.event.label.name == 'kind/release' || startsWith(github.event.pull_request.title, 'Release') }}
runs-on: ubuntu-latest
steps:
- name: Clone repository