File tree Expand file tree Collapse file tree 9 files changed +117
-46
lines changed Expand file tree Collapse file tree 9 files changed +117
-46
lines changed Original file line number Diff line number Diff line change
1
+ name : Create Jira Ticket for Github Issue
2
+
3
+ on :
4
+ issues :
5
+ types : [opened]
6
+
7
+ jobs :
8
+ issue-jira :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+
12
+ - name : Login to Jira
13
+ uses : atlassian/gajira-login@master
14
+ env :
15
+ JIRA_BASE_URL : ${{ secrets.JIRA_BASE_URL }}
16
+ JIRA_USER_EMAIL : ${{ secrets.JIRA_USER_EMAIL }}
17
+ JIRA_API_TOKEN : ${{ secrets.JIRA_API_TOKEN }}
18
+
19
+ - name : Create Jira Issue
20
+ id : create_jira
21
+ uses : atlassian/gajira-create@master
22
+ with :
23
+ project : ${{ secrets.JIRA_PROJECT }}
24
+ issuetype : ${{ secrets.JIRA_ISSUE_TYPE }}
25
+ summary : Github | Issue | ${{ github.event.repository.name }} | ${{ github.event.issue.title }}
26
+ description : |
27
+ *GitHub Issue:* ${{ github.event.issue.html_url }}
28
+
29
+ *Description:*
30
+ ${{ github.event.issue.body }}
31
+ fields : " ${{ secrets.ISSUES_JIRA_FIELDS }}"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Checks the security policy and configurations
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopened]
5
+ jobs :
6
+ security-policy :
7
+ if : github.event.repository.visibility == 'public'
8
+ runs-on : ubuntu-latest
9
+ defaults :
10
+ run :
11
+ shell : bash
12
+ steps :
13
+ - uses : actions/checkout@master
14
+ - name : Checks for SECURITY.md policy file
15
+ run : |
16
+ if ! [[ -f "SECURITY.md" || -f ".github/SECURITY.md" ]]; then exit 1; fi
17
+ security-license :
18
+ if : github.event.repository.visibility == 'public'
19
+ runs-on : ubuntu-latest
20
+ defaults :
21
+ run :
22
+ shell : bash
23
+ steps :
24
+ - uses : actions/checkout@master
25
+ - name : Checks for License file
26
+ run : |
27
+ expected_license_files=("LICENSE" "LICENSE.txt" "LICENSE.md" "License.txt")
28
+ license_file_found=false
29
+ current_year=$(date +"%Y")
30
+
31
+ for license_file in "${expected_license_files[@]}"; do
32
+ if [ -f "$license_file" ]; then
33
+ license_file_found=true
34
+ # check the license file for the current year, if not exists, exit with error
35
+ if ! grep -q "$current_year" "$license_file"; then
36
+ echo "License file $license_file does not contain the current year."
37
+ exit 2
38
+ fi
39
+ break
40
+ fi
41
+ done
42
+
43
+ if [ "$license_file_found" = false ]; then
44
+ echo "No license file found. Please add a license file to the repository."
45
+ exit 1
46
+ fi
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Secrets Scan
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopened]
5
+ jobs :
6
+ security-secrets :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v4
10
+ with :
11
+ fetch-depth : ' 2'
12
+ ref : ' ${{ github.event.pull_request.head.ref }}'
13
+ - run : |
14
+ git reset --soft HEAD~1
15
+ - name : Install Talisman
16
+ run : |
17
+ # Download Talisman
18
+ wget https://github.com/thoughtworks/talisman/releases/download/v1.37.0/talisman_linux_amd64 -O talisman
19
+
20
+ # Checksum verification
21
+ checksum=$(sha256sum ./talisman | awk '{print $1}')
22
+ if [ "$checksum" != "8e0ae8bb7b160bf10c4fa1448beb04a32a35e63505b3dddff74a092bccaaa7e4" ]; then exit 1; fi
23
+
24
+ # Make it executable
25
+ chmod +x talisman
26
+ - name : Run talisman
27
+ run : |
28
+ # Run Talisman with the pre-commit hook
29
+ ./talisman --githook pre-commit
Original file line number Diff line number Diff line change 1
1
fileignoreconfig:
2
+ - filename: .github/workflows/secrets-scan.yml
3
+ ignore_detectors:
4
+ - filecontent
2
5
3
6
- filename: tests/config/default.yml.enc
4
7
checksum: f05423216fcfe17716c01932e7a87775a029ec4f1fb1314bfdf0697527e67038
Original file line number Diff line number Diff line change 2
2
3
3
## Content Management SDK For Python
4
4
---
5
+ ## v1.3.3
6
+
7
+ #### Date: 12 May 2025
8
+
9
+ - Setuptools package version bump.
10
+ ---
5
11
## v1.3.2
6
12
7
13
#### Date: 07 April 2025
Original file line number Diff line number Diff line change 72
72
__author__ = 'ishaileshmishra'
73
73
__status__ = 'debug'
74
74
__region__ = 'na'
75
- __version__ = '1.3.2 '
75
+ __version__ = '1.3.3 '
76
76
__host__ = 'api.contentstack.io'
77
77
__protocol__ = 'https://'
78
78
__api_version__ = 'v3'
Original file line number Diff line number Diff line change 1
1
python-dotenv ~= 1.0.0
2
- setuptools == 75.6.0
2
+ setuptools == 80.3.1
3
3
requests ~= 2.32.3
4
4
pylint
5
5
bson >= 0.5.9
You can’t perform that action at this time.
0 commit comments