Skip to content

test: Subnet memory state machine test #1660

test: Subnet memory state machine test

test: Subnet memory state machine test #1660

name: PR Title Validation
on:
pull_request:
types: [opened, synchronize, reopened, edited]
# Copied & adapted (job name, version label) from
# https://github.com/ytanikin/PRConventionalCommits?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/PRConventionalCommits@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