ci: Skip ci.yml checks for script/update_top_ranking_issues (#34241)
Closes https://github.com/zed-industries/zed/issues/19433 Supercedes: https://github.com/zed-industries/zed/pull/33308 cc: @eshasantosh Release Notes: - N/A
This commit is contained in:
parent
41085f8f55
commit
f82fdaa0a4
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -52,9 +52,10 @@ jobs:
|
||||||
fi
|
fi
|
||||||
# Specify anything which should skip full CI in this regex:
|
# Specify anything which should skip full CI in this regex:
|
||||||
# - docs/
|
# - docs/
|
||||||
|
# - script/update_top_ranking_issues/
|
||||||
# - .github/ISSUE_TEMPLATE/
|
# - .github/ISSUE_TEMPLATE/
|
||||||
# - .github/workflows/ (except .github/workflows/ci.yml)
|
# - .github/workflows/ (except .github/workflows/ci.yml)
|
||||||
SKIP_REGEX='^(docs/|\.github/(ISSUE_TEMPLATE|workflows/(?!ci)))'
|
SKIP_REGEX='^(docs/|script/update_top_ranking_issues/|\.github/(ISSUE_TEMPLATE|workflows/(?!ci)))'
|
||||||
if [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep -vP "$SKIP_REGEX") ]]; then
|
if [[ $(git diff --name-only $COMPARE_REV ${{ github.sha }} | grep -vP "$SKIP_REGEX") ]]; then
|
||||||
echo "run_tests=true" >> $GITHUB_OUTPUT
|
echo "run_tests=true" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue