Skip to content

Commit

Permalink
Merge pull request #2240 from lucab/ups/ci-pr-title
Browse files Browse the repository at this point in the history
workflows/release: pattern-match on PR title
  • Loading branch information
openshift-merge-robot authored Nov 16, 2020
2 parents 1ac80fa + ee57fe2 commit abbe7ea
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit abbe7ea

Please sign in to comment.