Skip to content

Commit edab0de

Browse files
authored
Github Actions: Fix datamodel-doc auto PR syntax (AliceO2Group#13392)
Fix by @vkucera
1 parent c64fb16 commit edab0de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/datamodel-doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ jobs:
5959
run: |
6060
# git diff --quiet exits with 1 if any tracked files have changed, and
6161
# with 0 otherwise.
62+
set -e
6263
if git diff --quiet; then
6364
exit # Nothing has changed, so no need to send a PR.
6465
fi
@@ -70,8 +71,7 @@ jobs:
7071
# Send pull request
7172
# We need to use "gh" ourselves because alisw/pull-request gets
7273
# confused when multiple repos are checked out.
73-
GH_TOKEN="$GITHUB_TOKEN" gh pr create -B \
74-
AliceO2Group:master -H alibuild:auto-datamodel-doc \
74+
GH_TOKEN="$GITHUB_TOKEN" gh pr create -B master \
7575
--no-maintainer-edit -t 'Automatic data model update' -b "This update \
7676
to the data model documentation was automatically created from \
7777
tonight's O2 dev branch." || true

0 commit comments

Comments
 (0)