Skip to content

Commit 2f3e368

Browse files
Merge pull request #104 from contentstack/staging
Back merge | staging to development
2 parents 9a117f7 + 63868c6 commit 2f3e368

File tree

7 files changed

+5734
-2910
lines changed

7 files changed

+5734
-2910
lines changed

.github/workflows/jira.yml

+6-1
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

+11
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ 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

README.md

+14-4
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,18 @@ and rectify them.
1111
[![License](https://img.shields.io/npm/l/cli-cm-regex-validate.svg)](https://github.com/contentstack/cli-cm-regex-validate/blob/master/package.json)
1212

1313
<!-- toc -->
14-
* [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
15-
* [Usage](#usage)
16-
* [Commands](#commands)
14+
15+
- [Regex Validation CLI Plugin](#regex-validation-cli-plugin)
16+
- [Usage](#usage)
17+
- [Commands](#commands)
1718
<!-- tocstop -->
1819

1920
# Usage
2021

2122
<!-- usage-no-overwrite -->
23+
2224
#### Step 1:
25+
2326
```sh-session
2427
$ npm install -g @contentstack/cli
2528

@@ -34,16 +37,22 @@ USAGE
3437
$ csdx COMMAND
3538
...
3639
```
40+
3741
#### Step 2:
42+
3843
[Set the region](https://www.contentstack.com/docs/developers/cli/configure-regions-in-the-cli#set-region)
44+
3945
<!-- usagestop-overwrite -->
4046

4147
#### Step 3:
48+
4249
[Configured management token alias](https://www.contentstack.com/docs/developers/cli/cli-authentication#add-management-token)
50+
4351
# Commands
4452

4553
<!-- commands -->
46-
* [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)
54+
55+
- [`csdx cm:stacks:validate-regex`](#csdx-cmstacksvalidate-regex)
4756

4857
## `csdx cm:stacks:validate-regex`
4958

@@ -81,4 +90,5 @@ EXAMPLES
8190
```
8291

8392
_See code: [src/commands/cm/stacks/validate-regex.ts](https://github.com/contentstack/cli-cm-regex-validate/blob/v1.2.1/src/commands/cm/stacks/validate-regex.ts)_
93+
8494
<!-- commandsstop -->

0 commit comments

Comments
 (0)