From 153531d43586af02721c42679a2ab736b1de197b Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Mon, 26 Oct 2020 13:09:20 +0100 Subject: 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 --- .github/workflows/pr-title.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.github/workflows/pr-title.yml') 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: -- cgit v1.2.3-54-g00ecf