test(IDX): move //rs/embedders:stable_grow_test to its own dedicated test and give it more CPUs #6947
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Title Validation | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, edited] | |
# Copied & adapted (job name, version label) from | |
# https://github.com/ytanikin/pr-conventional-commits?tab=readme-ov-file#usage-with-labeling-where-label-is-just-a-task-type | |
jobs: | |
validate-pr-title: | |
name: PR Conventional Commit Validation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Validate PR Title | |
uses: ytanikin/pr-conventional-commits@8d258b54939f6769fcd935a52b96d6b0383a00c5 # v1.2.0 | |
with: | |
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert"]' | |
pr-title-check: | |
name: Check PR Title for Deprecated Flags | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check PR Title | |
id: check-pr-title | |
env: | |
CI_PULL_REQUEST_TITLE: ${{ github.event.pull_request.title }} | |
run: | | |
if [[ $CI_PULL_REQUEST_TITLE == *"[S3_UPLOAD]"* ]]; then | |
echo "Error: The [S3_UPLOAD] flag has been deprecated. Please use [RUN_ALL_BAZEL_TARGETS] instead. It will automatically upload to S3." | |
exit 1 | |
fi | |
if [[ $CI_PULL_REQUEST_TITLE == *"[override-didc-check]"* ]]; then | |
echo "Error: The [override-didc-check] flag in the PR TITLE has been deprecated. Please use the PR label instead." | |
exit 1 | |
fi | |
if [[ $CI_PULL_REQUEST_TITLE == *"[RUN_ALL_BAZEL_TARGETS]"* ]]; then | |
echo "Error: The [RUN_ALL_BAZEL_TARGETS] flag in the PR TITLE has been deprecated. Please use the PR label instead. See .github/CI_README.md." | |
exit 1 | |
fi |