mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
Merge pull request #2240 from lucab/ups/ci-pr-title
workflows/release: pattern-match on PR title
This commit is contained in:
commit
abbe7ea4e7
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user