From 1393da4e1f8b857dc321259213f4b9f8597a3e09 Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 16 Aug 2024 18:27:37 +0200 Subject: [PATCH] Github Actions: Fix datamodel-doc auto PR syntax Fix by @vkucera --- .github/workflows/datamodel-doc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/datamodel-doc.yml b/.github/workflows/datamodel-doc.yml index 6717a5b08570c..0871a64e10008 100644 --- a/.github/workflows/datamodel-doc.yml +++ b/.github/workflows/datamodel-doc.yml @@ -59,6 +59,7 @@ jobs: run: | # git diff --quiet exits with 1 if any tracked files have changed, and # with 0 otherwise. + set -e if git diff --quiet; then exit # Nothing has changed, so no need to send a PR. fi @@ -70,8 +71,7 @@ jobs: # Send pull request # We need to use "gh" ourselves because alisw/pull-request gets # confused when multiple repos are checked out. - GH_TOKEN="$GITHUB_TOKEN" gh pr create -B \ - AliceO2Group:master -H alibuild:auto-datamodel-doc \ + GH_TOKEN="$GITHUB_TOKEN" gh pr create -B master \ --no-maintainer-edit -t 'Automatic data model update' -b "This update \ to the data model documentation was automatically created from \ tonight's O2 dev branch." || true