tests: Don't overwrite CI statuses on GitHub branched for nightly pipelines
Closes #1527.
This commit is contained in:
parent
5e8c022e6d
commit
648bf26fca
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
# Don't overwrite CI statuses on GitHub branches for nightly pipelines
|
||||
if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ $1 == "start" ]]; then
|
||||
GITHUB_NEW_STATE="pending"
|
||||
GITHUB_NEW_DESC="I'm currently testing this commit, be patient."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue