Skip to content

Commit 089fd72

Browse files
authored
chore: remove feature PR workflow (#322)
1 parent 22fd557 commit 089fd72

File tree

2 files changed

+21
-46
lines changed

2 files changed

+21
-46
lines changed

.circleci/config.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -501,37 +501,6 @@ jobs:
501501
monitor-on-build: false
502502
project: "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}"
503503

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-
535504
workflows:
536505
Release PR:
537506
when: &release-conditions
@@ -667,26 +636,11 @@ workflows:
667636
context:
668637
- devex-release
669638

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-
681639
Build and test:
682640
when:
683641
not: *release-conditions
684642
jobs:
685643
- Unit Tests
686-
- Security Scan feature:
687-
context:
688-
- devex-release
689-
- org-global-employees
690644
- Lint
691645
- Create version file:
692646
is-prerelease: true

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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 }}

0 commit comments

Comments
 (0)