Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f7f3265
Merge pull request #99 from contentstack/staging
Amitkanswal Feb 29, 2024
ef0716e
sca-scan.yml
aravindbuilt Jun 18, 2024
bcabe54
jira.yml
aravindbuilt Jun 18, 2024
8ae9a5a
sast-scan.yml
aravindbuilt Jun 18, 2024
e3764b7
codeql-analysis.yml
aravindbuilt Jun 18, 2024
a88c627
sca-scan.yml
aravindbuilt Oct 22, 2024
e22a7f1
sca-scan.yml
aravindbuilt Oct 22, 2024
d887268
jira.yml
aravindbuilt Oct 22, 2024
f0e85d0
sast-scan.yml
aravindbuilt Oct 22, 2024
edb64f4
codeql-analysis.yml
aravindbuilt Oct 22, 2024
328c66e
Updated codeowners
aravindbuilt Oct 22, 2024
566cccd
sca-scan.yml
aravindbuilt Jan 19, 2025
70ee17a
jira.yml
aravindbuilt Jan 19, 2025
cfdeb35
sast-scan.yml
aravindbuilt Jan 19, 2025
2c69012
codeql-analysis.yml
aravindbuilt Jan 19, 2025
45e0d83
Updated codeowners
aravindbuilt Jan 19, 2025
9fc025f
policy-scan.yml
aravindbuilt Apr 16, 2025
1142cfd
issues-jira.yml
aravindbuilt Apr 16, 2025
e36e98c
Delete jira.yml
aravindbuilt Apr 16, 2025
9248d7a
Delete sast-scan.yml
aravindbuilt Apr 16, 2025
3ca44e8
codeql-analysis.yml
aravindbuilt Apr 16, 2025
34d084e
Updated codeowners
aravindbuilt Apr 16, 2025
a28a0bf
policy-scan.yml
aravindbuilt Apr 23, 2025
fb1697f
policy-scan.yml
aravindbuilt May 6, 2025
32b64df
issues-jira.yml
aravindbuilt May 6, 2025
974afc1
secrets-scan.yml
aravindbuilt May 6, 2025
5c7fda0
talismanrc file updated
aravindbuilt May 6, 2025
112a157
Updated codeowners
aravindbuilt May 6, 2025
65f4abe
Delete secrets-scan.yml
aravindbuilt Sep 8, 2025
636d57d
Updated codeowners
aravindbuilt Sep 8, 2025
8a23323
fix: Fix React Server Components CVE vulnerabilities
malewis5 Dec 12, 2025
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
31 changes: 31 additions & 0 deletions .github/workflows/issues-jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Create Jira Ticket for Github Issue

on:
issues:
types: [opened]

jobs:
issue-jira:
runs-on: ubuntu-latest
steps:

- name: Login to Jira
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Create Jira Issue
id: create_jira
uses: atlassian/gajira-create@master
with:
project: ${{ secrets.JIRA_PROJECT }}
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
summary: Github | Issue | ${{ github.event.repository.name }} | ${{ github.event.issue.title }}
description: |
*GitHub Issue:* ${{ github.event.issue.html_url }}

*Description:*
${{ github.event.issue.body }}
fields: "${{ secrets.ISSUES_JIRA_FIELDS }}"
33 changes: 0 additions & 33 deletions .github/workflows/jira.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/policy-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Checks the security policy and configurations
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security-policy:
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@master
- name: Checks for SECURITY.md policy file
run: |
if ! [[ -f "SECURITY.md" || -f ".github/SECURITY.md" ]]; then exit 1; fi
security-license:
if: github.event.repository.visibility == 'public'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@master
- name: Checks for License file
run: |
expected_license_files=("LICENSE" "LICENSE.txt" "LICENSE.md" "License.txt")
license_file_found=false
current_year=$(date +"%Y")

for license_file in "${expected_license_files[@]}"; do
if [ -f "$license_file" ]; then
license_file_found=true
# check the license file for the current year, if not exists, exit with error
if ! grep -q "$current_year" "$license_file"; then
echo "License file $license_file does not contain the current year."
exit 2
fi
break
fi
done

if [ "$license_file_found" = false ]; then
echo "No license file found. Please add a license file to the repository."
exit 1
fi
2 changes: 1 addition & 1 deletion .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security:
security-sca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
Expand Down
5 changes: 5 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
fileignoreconfig:
- filename: .github/workflows/secrets-scan.yml
ignore_detectors:
- filecontent
version: "1.0"
12 changes: 11 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
* @contentstack/security-admin
* @contentstack/marketplace-pr-reviewers

.github/workflows/sca-scan.yml @contentstack/security-admin

.github/workflows/codeql-anaylsis.yml @contentstack/security-admin

**/.snyk @contentstack/security-admin

.github/workflows/policy-scan.yml @contentstack/security-admin

.github/workflows/issues-jira.yml @contentstack/security-admin
Loading