Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LIFE-1129] fix: remove feature PR workflow #322

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 0 additions & 46 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -501,37 +501,6 @@ jobs:
monitor-on-build: false
project: "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}"

Security Scan feature:
docker:
- image: cimg/go:1.22.3
steps:
- checkout
- run:
name: Setup Scanning
command: |
git config --global url."https://$GITHUB_USER:[email protected]/circleci/".insteadOf "https://github.com/circleci/"
- snyk/scan:
fail-on-issues: false
severity-threshold: high
monitor-on-build: false
project: "${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BRANCH}"

Auto-assign PR:
docker:
- image: cimg/node:18.16
steps:
- run:
name: Halt job if running pipeline from a fork
command: |
[ -z $CIRCLE_PR_NUMBER ] || circleci-agent step halt
- github-cli/install:
version: "2.37.0"
- checkout
- run:
name: Assign PR to author
command: |
gh pr edit --add-assignee $(gh pr view --json author --jq .author.login)

workflows:
Release PR:
when: &release-conditions
Expand Down Expand Up @@ -667,26 +636,11 @@ workflows:
context:
- devex-release

Feature PR:
when:
not: *release-conditions
jobs:
- Lint PR title:
context:
- devex-release
- Auto-assign PR:
context:
- devex-release

Build and test:
when:
not: *release-conditions
jobs:
- Unit Tests
- Security Scan feature:
context:
- devex-release
- org-global-employees
- Lint
- Create version file:
is-prerelease: true
Expand Down