mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-06 00:09:22 +00:00
adds concurrency group and cancels CI runs from multiple commits --------- Co-authored-by: mmosarafO2 <mosraf@openobserve.ai>
20 lines
522 B
YAML
20 lines
522 B
YAML
name: "PR Title Checker"
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: thehanimo/pr-title-checker@v1.4.3
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
pass_on_octokit_error: false
|
|
configuration_path: ".github/pr-title-checker-config.json"
|