File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test naming convention
2+ # Controls when the workflow will run
3+ on :
4+ # Triggers the workflow on push or pull request events but only for the main branch
5+ pull_request :
6+ branches : [ master ]
7+ types : [opened, synchronize, reopened, edited]
8+ # Allows you to run this workflow manually from the Actions tab
9+ workflow_dispatch :
10+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
11+ jobs :
12+ pr_title_check :
13+ name : Naming Convention
14+ runs-on : infra-runner
15+ timeout-minutes : 15
16+ # Steps represent a sequence of tasks that will be executed as part of the job
17+ steps :
18+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
19+ - name : Checkout code
20+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+ with :
22+ ref : ${{ github.event.pull_request.head.ref }}
23+ fetch-depth : 0
24+ - name : Get composite steps run repo
25+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+ with :
27+ repository : tokenio/composite-actions
28+ ref : master
29+ path : .github/composite-actions
30+ ssh-key : ${{ secrets.GIT_SSH_KEY }}
31+ - name : Check if the PR title and the branch name is valid
32+ uses : ./.github/composite-actions/commit-sanity/pr-title-checker
You can’t perform that action at this time.
0 commit comments