Skip to content

Docs manual scripting re org (Draft PR) #260

Docs manual scripting re org (Draft PR)

Docs manual scripting re org (Draft PR) #260

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on pull request creation and edit events but only for the "main" branch
pull_request:
types:
- edited
- opened
- synchronize
branches: [ "develop" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
check-pr-title:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Runs a bash script from the specified working directory
- name: Check PR Title begins with the required prefix
shell: bash
working-directory: .github/workflows
env:
TITLE: ${{github.event.pull_request.title}}
run: bash verify-pr-title-prefix.sh $TITLE "NEW:" "CHANGE:" "FIX:" "DOCS:" "RELEASE:"