[BUG FIX] [MER-4203] expose session_ttl_renewal and credentials_cache_store ttl as configurable env vars #1306
Workflow file for this run
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: "Validate Pull Request Title" | |
on: | |
pull_request: | |
branches: | |
- master | |
- 'hotfix-*' | |
- 'prerelease-*' | |
types: [opened, edited, reopened] | |
jobs: | |
check-title: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Validate PR Title | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const titlePattern = /^(\[BUG FIX\]|\[ENHANCEMENT\]|\[FEATURE\]|\[CHORE\]|\[PERFORMANCE\]) (\[MER-\d{3}\]|\[MER-\d{4}\]|\[NG23-\d{2}\]|\[NG23-\d{3}\]|\[NG23-\d{4}\]) .+$/; | |
const title = context.payload.pull_request.title; | |
if (!titlePattern.test(title)) { | |
core.setFailed("Pull Request title does not match the required format '[CHANGE-TYPE] [TICKET-REFERENCE] Description'."); | |
} |