mirror of
https://gitlab.com/components/sast.git
synced 2025-06-29 23:18:28 +02:00
Run a couple of jobs only on Gitlab.com
This commit is contained in:
parent
7dca063032
commit
70b25f51ac
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,7 @@ ensure-semgrep-job-added:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH && $CI_SERVER_HOST =~ /gitlab.com/
|
||||||
|
|
||||||
# Ensure that a project description exists, because it will be important to display
|
# Ensure that a project description exists, because it will be important to display
|
||||||
# the resource in the catalog.
|
# the resource in the catalog.
|
||||||
|
@ -29,6 +29,8 @@ check-description:
|
||||||
else
|
else
|
||||||
echo "Description set"
|
echo "Description set"
|
||||||
fi
|
fi
|
||||||
|
rules:
|
||||||
|
- if: $CI_SERVER_HOST =~ /gitlab.com/
|
||||||
|
|
||||||
# Ensure that a `README.md` exists in the root directory as it represents the
|
# Ensure that a `README.md` exists in the root directory as it represents the
|
||||||
# documentation for the whole components repository.
|
# documentation for the whole components repository.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue