Skip to content

Commit

Permalink
Merge pull request #2 from isavov/chore/pr-title-forks
Browse files Browse the repository at this point in the history
chore: update PR check workflow
  • Loading branch information
isavov authored Mar 19, 2024
2 parents e9e73a6 + 3609680 commit 8212603
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/flow-pr-title-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,34 @@

name: "PR Title Check"
on:
workflow_dispatch:
pull_request:
pull_request_target:
types:
- opened
- reopened
- edited
- ready_for_review
- review_requested
- synchronize

defaults:
run:
shell: bash

permissions:
statuses: write

concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
title-check:
name: Title Check
runs-on: ubuntu-latest
runs-on: [self-hosted, Linux, medium, ephemeral]
permissions:
statuses: write
steps:
- name: Check PR Title
uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8212603

Please sign in to comment.