mirror of
https://gitlab.com/components/secret-detection.git
synced 2025-06-29 23:18:29 +02:00
Run a couple of jobs only on Gitlab.com
This commit is contained in:
parent
ef4d34b9d0
commit
d9f655a96a
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,8 @@ ensure-job-added:
|
|||
if [ "$count" != "1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
rules:
|
||||
- if: ($CI_COMMIT_BRANCH || $CI_COMMIT_TAG) && $CI_SERVER_HOST =~ /gitlab.com/
|
||||
|
||||
# Ensure that a project description exists, because it will be important to display
|
||||
# the resource in the catalog.
|
||||
|
@ -34,6 +36,8 @@ check-description:
|
|||
else
|
||||
echo "Description set"
|
||||
fi
|
||||
rules:
|
||||
- if: $CI_SERVER_HOST =~ /gitlab.com/
|
||||
|
||||
# Ensure that a `README.md` exists in the root directory as it represents the
|
||||
# documentation for the whole components repository.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue