Skip to content

Commit 0982d70

Browse files
committed
ci(circleci): removed pr validation on circleci and added to GHA (CORE-5126)
1 parent 4cc6c70 commit 0982d70

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

.circleci/config.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ orbs:
44
codecov: codecov/[email protected]
55
vfcommon: voiceflow/[email protected]
66
sonarcloud: sonarsource/[email protected]
7-
validate-title: qventus/[email protected]
87

98
jobs:
109
build-and-test:
@@ -27,18 +26,6 @@ jobs:
2726
- sonarcloud/scan
2827

2928
workflows:
30-
pr-checker:
31-
jobs:
32-
- validate-title/validate:
33-
context: dev-test
34-
regex: >-
35-
$PR_REGEX
36-
filters:
37-
branches:
38-
ignore:
39-
- /env-.*/
40-
- staging
41-
- master
4229

4330
test-and-release:
4431
jobs:

.github/workflows/pr-checker.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: PR Title validation
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize, reopened]
6+
7+
jobs:
8+
pr-validation:
9+
name: Checks if the PR title is valid
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: deepakputhraya/action-pr-title@master
13+
with:
14+
regex: ${{ secrets.PR_TITLE_REGEX }} # Regex the title should match.
15+
github_token: ${{ secrets.GH_SA_TOKEN }}

0 commit comments

Comments
 (0)