Skip to content

111Validate PR titles111 #4

111Validate PR titles111

111Validate PR titles111 #4

Workflow file for this run

name: "Workflow"
on:
pull_request_target:
types: [opened, reopened, edited]
push:
branches: ["develop"]
pull_request:
branches: ["develop"]
jobs:
check-pr-title:
name: "PR Title Checker"
if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
steps:
- name: PR Title Checker
uses: thehanimo/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
configuration_path: .github/workflows/pr-title-checker-config.json
build-go:
name: "Go Build and Test"
if: |
github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.base_ref == 'develop')
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.1'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...