Skip to content

Commit 0c064ae

Browse files
authored
chore: Remove Travis references in scripts/check_secrets.sh (#15531)
1 parent 5c53b67 commit 0c064ae

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/check_secrets.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@ echo "GITHUB_HEAD_REF: ${GITHUB_HEAD_REF:-}"
2222

2323
check_secrets()
2424
{
25-
# Travis: Secrets are available if we're not running on a fork.
26-
if [[ -n "${TRAVIS_PULL_REQUEST:-}" ]]; then
27-
if [[ "$TRAVIS_PULL_REQUEST" == "false" ||
28-
"$TRAVIS_PULL_REQUEST_SLUG" == "$TRAVIS_REPO_SLUG" ]]; then
29-
return 0
30-
fi
31-
fi
3225
# GitHub Actions: Secrets are available if we're not running on a fork.
3326
# See https://help.github.com/en/actions/automating-your-workflow-with-github-actions/using-environment-variables
3427
# TODO- Both GITHUB_BASE_REF and GITHUB_HEAD_REF are set in main repo

0 commit comments

Comments
 (0)