summaryrefslogtreecommitdiff
path: root/.github/workflows/pr-title.yml
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-10-26 13:09:20 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-10-26 13:09:20 +0100
commit153531d43586af02721c42679a2ab736b1de197b (patch)
treef57783c3dd5a4e641c8a97be54121e8c7bc18790 /.github/workflows/pr-title.yml
parent01f642f08071118b9ed63e1ab4818731fe9c5de9 (diff)
downloadpodman-153531d43586af02721c42679a2ab736b1de197b.tar.gz
podman-153531d43586af02721c42679a2ab736b1de197b.tar.bz2
podman-153531d43586af02721c42679a2ab736b1de197b.zip
pr update action: fix errors on master branch
The action fails on the master branch as the regex does not match. The error in this scenario is unfortunate and not of much value as we do not want to change PR titles on the master branch. To fix it, entirely disable the action on the master branch which in restrospective may be a better approach as we do not fire off the action. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to '.github/workflows/pr-title.yml')
-rw-r--r--.github/workflows/pr-title.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title.yml
index 0709fb5f0..32d566288 100644
--- a/.github/workflows/pr-title.yml
+++ b/.github/workflows/pr-title.yml
@@ -3,6 +3,8 @@
name: "PR title check"
on: pull_request_target
+ branches:
+ - "!master" # don't run it on master to prevent errors
jobs:
update_pr: