File tree Expand file tree Collapse file tree 2 files changed +21
-46
lines changed Expand file tree Collapse file tree 2 files changed +21
-46
lines changed Original file line number Diff line number Diff line change @@ -501,37 +501,6 @@ jobs:
501
501
monitor-on-build : false
502
502
project : " ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}"
503
503
504
- Security Scan feature :
505
- docker :
506
- - image : cimg/go:1.22.3
507
- steps :
508
- - checkout
509
- - run :
510
- name : Setup Scanning
511
- command : |
512
- git config --global url."https://$GITHUB_USER:[email protected] /circleci/".insteadOf "https://github.com/circleci/"
513
- - snyk/scan :
514
- fail-on-issues : false
515
- severity-threshold : high
516
- monitor-on-build : false
517
- project : " ${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BRANCH}"
518
-
519
- Auto-assign PR :
520
- docker :
521
- - image : cimg/node:18.16
522
- steps :
523
- - run :
524
- name : Halt job if running pipeline from a fork
525
- command : |
526
- [ -z $CIRCLE_PR_NUMBER ] || circleci-agent step halt
527
- - github-cli/install :
528
- version : " 2.37.0"
529
- - checkout
530
- - run :
531
- name : Assign PR to author
532
- command : |
533
- gh pr edit --add-assignee $(gh pr view --json author --jq .author.login)
534
-
535
504
workflows :
536
505
Release PR :
537
506
when : &release-conditions
@@ -667,26 +636,11 @@ workflows:
667
636
context :
668
637
- devex-release
669
638
670
- Feature PR :
671
- when :
672
- not : *release-conditions
673
- jobs :
674
- - Lint PR title :
675
- context :
676
- - devex-release
677
- - Auto-assign PR :
678
- context :
679
- - devex-release
680
-
681
639
Build and test :
682
640
when :
683
641
not : *release-conditions
684
642
jobs :
685
643
- Unit Tests
686
- - Security Scan feature :
687
- context :
688
- - devex-release
689
- - org-global-employees
690
644
- Lint
691
645
- Create version file :
692
646
is-prerelease : true
Original file line number Diff line number Diff line change
1
+ name : " Lint PR"
2
+
3
+ on :
4
+ pull_request_target :
5
+ types :
6
+ - opened
7
+ - edited
8
+ - synchronize
9
+ - reopened
10
+
11
+ permissions :
12
+ pull-requests : read
13
+
14
+ jobs :
15
+ main :
16
+ name : Validate PR title
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : amannn/action-semantic-pull-request@v5
20
+ env :
21
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments