Skip to content

Commit 2b8aa62

Browse files
sunil-lakshmanabhinav-from-contentstackaravindbuilt
authored
Back merge (#31)
* Next (#25) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Feat/cs 44004 json rte nested list fragment (#21) * Fixed snyk issues and added auto publish package support in github ac… (#19) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Added fragment style attribute in JSON RTE nested list Updated License file. * Fix/cs 44004 changed host name (#23) * Added fragment style attribute in JSON RTE nested list Updated License file. * Changed dev url to prod url * Feat/cs 44495 added reference support (#24) * Next (#22) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Feat/cs 44004 json rte nested list fragment (#21) * Fixed snyk issues and added auto publish package support in github ac… (#19) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Added fragment style attribute in JSON RTE nested list Updated License file. * Fix/cs 44004 changed host name (#23) * Added fragment style attribute in JSON RTE nested list Updated License file. * Changed dev url to prod url * Added reference support and fixed package build issues * Next (#22) (#27) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Feat/cs 44004 json rte nested list fragment (#21) * Fixed snyk issues and added auto publish package support in github ac… (#19) * Fixed snyk issues and added auto publish package support in github action. (#18) * Fixed snyk issues and added auto publish package support in github ac… (#20) * Fixed snyk issues and added auto publish package support in github action. * Added security file and updated license * Updated changelog file message * Updated python version in github action file * Updated pip and pylint * Added fragment style attribute in JSON RTE nested list Updated License file. * Fix/cs 44004 changed host name (#23) * Added fragment style attribute in JSON RTE nested list Updated License file. * Changed dev url to prod url --------- Co-authored-by: Abhinav Gupta <abhinav.gupta@contentstack.com> Co-authored-by: abhinav <63039365+abhinav-from-contentstack@users.noreply.github.com> * sca-scan.yml * jira.yml * sast-scan.yml * codeql-analysis.yml --------- Co-authored-by: Abhinav Gupta <abhinav.gupta@contentstack.com> Co-authored-by: abhinav <63039365+abhinav-from-contentstack@users.noreply.github.com> Co-authored-by: Aravind Kumar <aravind.kumar@contentstack.com>
1 parent fe165e2 commit 2b8aa62

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

.github/workflows/jira.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
types: [opened]
55
jobs:
6-
security:
6+
security-jira:
77
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
88
runs-on: ubuntu-latest
99
steps:
@@ -26,3 +26,8 @@ jobs:
2626
PR: ${{ github.event.pull_request.html_url }}
2727
2828
fields: "${{ secrets.JIRA_FIELDS }}"
29+
- name: Transition issue
30+
uses: atlassian/gajira-transition@v3
31+
with:
32+
issue: ${{ steps.create.outputs.issue }}
33+
transition: ${{ secrets.JIRA_TRANSITION }}

.github/workflows/sast-scan.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: SAST Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security-sast:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Semgrep Scan
11+
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v "${PWD}:/src" returntocorp/semgrep semgrep scan --config auto

.github/workflows/sca-scan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ on:
33
pull_request:
44
types: [opened, synchronize, reopened]
55
jobs:
6-
security:
6+
security-sca:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@master
1010
- name: Run Snyk to check for vulnerabilities
11-
uses: snyk/actions/python-3.10@master
11+
uses: snyk/actions/python@master
1212
env:
1313
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
1414
with:
15-
args: --fail-on=all
15+
args: --fail-on=all --all-projects --skip-unresolved

0 commit comments

Comments
 (0)