Skip to content

Commit

Permalink
fix pr check action
Browse files Browse the repository at this point in the history
  • Loading branch information
nyambati committed Mar 12, 2024
1 parent 1969164 commit 4e5a3fa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
14 changes: 0 additions & 14 deletions .github/pr-title-checker-config.json

This file was deleted.

14 changes: 8 additions & 6 deletions .github/workflows/check_pr.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: "PR Title Checker"
on:
pull_request_target:
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

jobs:
check:
check_pr_title:
name: check PR title
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@v1.4.2
- name: Checkout Code
uses: actions/checkout@v2
- uses: deepakputhraya/action-pr-title@master
with:
pass_on_octokit_error: false
regex: '^\[stable\/+.+]\s.+'
prefix_case_sensitive: false
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ spec:
successfulJobsHistoryLimit: {{ $.Values.successfulJobsHistoryLimit }}
failedJobsHistoryLimit: {{ $.Values.failedJobsHistoryLimit }}
concurrencyPolicy: {{ $.Values.concurrencyPolicy }}
activeDeadlineSeconds: {{ $.Values.activeDeadlineSeconds }}
ttlSecondsAfterFinished: {{ $.Values.ttlSecondsAfterFinished }}

jobTemplate:
spec:
activeDeadlineSeconds: {{ $.Values.activeDeadlineSeconds }}
ttlSecondsAfterFinished: {{ $.Values.ttlSecondsAfterFinished }}
template:
metadata:
{{- with $.Values.podAnnotations }}
Expand Down

0 comments on commit 4e5a3fa

Please sign in to comment.