contentstack 0.7.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 151e081a79919a89260f63ea374d5c4ab54428d07468efbcf0ba4c5316d4ca4f
4
- data.tar.gz: 82cd520466c27d4e1bc23d07695fedfeefef9931385eb8607f283ce37b065143
3
+ metadata.gz: 9e8661a014dc2bdfc647108d4f28b52735e7a4676b8ace13459ab2d0e7a86763
4
+ data.tar.gz: dc461c0e7ee499b02adc8aeb2b6af12681e18b1702b8eaeb5d8bab971dd63a3d
5
5
  SHA512:
6
- metadata.gz: 2d3b5c78d18430d184ef95694570b6af0c8574ef697f7861733797c05ef9ae5fa969d79b7e14533c4730fb10d9eab491484ca634941c3c67606927c7a9b764a1
7
- data.tar.gz: 72d63d5c25715a236e007f46b5e0fe92663d33eaf994ab5bfb8669c43c77aa7f48b972f1b535e30c5acaeba20aa1e6b2134149dc5c7edae9dba546e2a985534a
6
+ metadata.gz: 98e41cf1ecd666cb12fed8890283bba0e267e2261162284e3b0bcd2693d0d66ec7e37a908fd9351479ae9ac90d65b0bf1d87fd29cc96a43db977cb594071cc5f
7
+ data.tar.gz: 426549e776c6308ab1cb1e79ee9a8e7eed0e23b2fee88f30c5efca95332038f4f033d5590e529a6990a75ea371b521691af5e00b188718a674dd6f282db183f5
@@ -8,13 +8,13 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
10
  - name: Comment PR
11
- if: github.base_ref == 'master' && github.head_ref != 'next'
11
+ if: github.base_ref == 'master' && github.head_ref != 'staging'
12
12
  uses: thollander/actions-comment-pull-request@v2
13
13
  with:
14
14
  message: |
15
15
  We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch.
16
16
  - name: Check branch
17
- if: github.base_ref == 'master' && github.head_ref != 'next'
17
+ if: github.base_ref == 'master' && github.head_ref != 'staging'
18
18
  run: |
19
19
  echo "ERROR: We regret to inform you that you are currently not able to merge your changes into the master branch due to restrictions applied by our SRE team. To proceed with merging your changes, we kindly request that you create a pull request from the next branch. Our team will then review the changes and work with you to ensure a successful merge into the master branch."
20
20
  exit 1
@@ -0,0 +1,31 @@
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 }}"
@@ -0,0 +1,46 @@
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
@@ -15,17 +15,13 @@ jobs:
15
15
  steps:
16
16
  - uses: actions/checkout@v3
17
17
  - name: Set up Ruby 2.7
18
- uses: actions/setup-ruby@v1
18
+ uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 2.7.x
20
+ ruby-version: '2.7'
21
21
 
22
22
  - name: Publish to RubyGems
23
23
  run: |
24
- mkdir -p $HOME/.gem
25
- touch $HOME/.gem/credentials
26
- chmod 0600 $HOME/.gem/credentials
27
- printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
28
24
  gem build *.gemspec
29
25
  gem push *.gem
30
26
  env:
31
- GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
27
+ GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
@@ -3,7 +3,7 @@ on:
3
3
  pull_request:
4
4
  types: [opened, synchronize, reopened]
5
5
  jobs:
6
- security:
6
+ security-sca:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
9
  - uses: actions/checkout@master
data/CHANGELOG.md CHANGED
@@ -1,6 +1,19 @@
1
1
  ## CHANGELOG
2
2
 
3
- ## Version 0.6.4
3
+ ## Version 0.8.0
4
+ ### Date: 05th-January-2026
5
+ ### Security Bug
6
+ - Fixed snyk security issues and updated license year
7
+
8
+ ------------------------------------------------
9
+
10
+ ## Version 0.8.0
11
+ ### Date: 14th-May-2024
12
+ ### Enhancement
13
+ - Region support for GCP-NA added
14
+
15
+ ------------------------------------------------
16
+ ## Version 0.7.0
4
17
  ### Date: 17th-Apr-2023
5
18
  ### Enhancement
6
19
  - Include metadata support for Asset, Entry and Query,
data/CODEOWNERS CHANGED
@@ -1 +1,11 @@
1
- * @contentstack/security-admin @contentstack/sdk-admin
1
+ * @contentstack/devex-pr-reviewers
2
+
3
+ .github/workflows/sca-scan.yml @contentstack/security-admin
4
+
5
+ .github/workflows/codeql-anaylsis.yml @contentstack/security-admin
6
+
7
+ **/.snyk @contentstack/security-admin
8
+
9
+ .github/workflows/policy-scan.yml @contentstack/security-admin
10
+
11
+ .github/workflows/issues-jira.yml @contentstack/security-admin
data/Gemfile.lock CHANGED
@@ -1,42 +1,51 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
-
5
- contentstack (0.7.0)
4
+ contentstack (0.8.1)
6
5
  activesupport (>= 3.2)
7
6
  contentstack_utils (~> 1.0)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
- activesupport (7.0.4.3)
13
- concurrent-ruby (~> 1.0, >= 1.0.2)
11
+ activesupport (7.2.3)
12
+ base64
13
+ benchmark (>= 0.3)
14
+ bigdecimal
15
+ concurrent-ruby (~> 1.0, >= 1.3.1)
16
+ connection_pool (>= 2.2.5)
17
+ drb
14
18
  i18n (>= 1.6, < 2)
19
+ logger (>= 1.4.2)
15
20
  minitest (>= 5.1)
16
- tzinfo (~> 2.0)
17
- addressable (2.8.4)
18
- public_suffix (>= 2.0.2, < 6.0)
19
- concurrent-ruby (1.2.2)
20
- contentstack_utils (1.1.3.2)
21
- activesupport (>= 3.2)
22
- nokogiri (~> 1.11)
23
- crack (0.4.5)
21
+ securerandom (>= 0.3)
22
+ tzinfo (~> 2.0, >= 2.0.5)
23
+ addressable (2.8.8)
24
+ public_suffix (>= 2.0.2, < 8.0)
25
+ base64 (0.3.0)
26
+ benchmark (0.5.0)
27
+ bigdecimal (4.0.1)
28
+ concurrent-ruby (1.3.6)
29
+ connection_pool (2.5.5)
30
+ contentstack_utils (1.2.1)
31
+ activesupport (>= 7.0)
32
+ nokogiri (>= 1.11)
33
+ crack (1.0.1)
34
+ bigdecimal
24
35
  rexml
25
- diff-lcs (1.5.0)
26
- docile (1.4.0)
27
- hashdiff (1.0.1)
28
- i18n (1.12.0)
36
+ diff-lcs (1.6.2)
37
+ docile (1.4.1)
38
+ drb (2.2.3)
39
+ hashdiff (1.2.1)
40
+ i18n (1.14.8)
29
41
  concurrent-ruby (~> 1.0)
30
- mini_portile2 (2.8.1)
31
- minitest (5.18.0)
32
- nokogiri (1.14.3)
33
- mini_portile2 (~> 2.8.0)
34
- racc (~> 1.4)
35
- nokogiri (1.14.3-x64-mingw32)
42
+ logger (1.7.0)
43
+ minitest (5.27.0)
44
+ nokogiri (1.18.10-arm64-darwin)
36
45
  racc (~> 1.4)
37
- public_suffix (5.0.1)
38
- racc (1.6.2)
39
- rexml (3.2.5)
46
+ public_suffix (6.0.2)
47
+ racc (1.8.1)
48
+ rexml (3.4.4)
40
49
  rspec (3.10.0)
41
50
  rspec-core (~> 3.10.0)
42
51
  rspec-expectations (~> 3.10.0)
@@ -50,11 +59,12 @@ GEM
50
59
  diff-lcs (>= 1.2.0, < 2.0)
51
60
  rspec-support (~> 3.10.0)
52
61
  rspec-support (3.10.3)
62
+ securerandom (0.4.1)
53
63
  simplecov (0.21.2)
54
64
  docile (~> 1.1)
55
65
  simplecov-html (~> 0.11)
56
66
  simplecov_json_formatter (~> 0.1)
57
- simplecov-html (0.12.3)
67
+ simplecov-html (0.13.2)
58
68
  simplecov_json_formatter (0.1.4)
59
69
  tzinfo (2.0.6)
60
70
  concurrent-ruby (~> 1.0)
@@ -62,11 +72,10 @@ GEM
62
72
  addressable (>= 2.3.6)
63
73
  crack (>= 0.3.2)
64
74
  hashdiff (>= 0.4.0, < 2.0.0)
65
- yard (0.9.34)
75
+ yard (0.9.38)
66
76
 
67
77
  PLATFORMS
68
- ruby
69
- x64-mingw32
78
+ arm64-darwin-22
70
79
 
71
80
  DEPENDENCIES
72
81
  contentstack!
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2012-2023 Contentstack. All Rights Reserved
3
+ Copyright (c) 2012-2026 Contentstack. All Rights Reserved
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -187,7 +187,7 @@ You can use advanced sync queries to fetch custom results while performing initi
187
187
 
188
188
  ## **The MIT License (MIT)**
189
189
 
190
- Copyright © 2012-2021 [Contentstack](https://www.contentstack.com). All Rights Reserved
190
+ Copyright © 2012-2026 [Contentstack](https://www.contentstack.com). All Rights Reserved
191
191
 
192
192
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
193
193
 
@@ -36,7 +36,7 @@ module Contentstack
36
36
  raise Contentstack::Error.new("Proxy Port Should not be Empty") if @proxy_details.present? && @proxy_details[:port].empty?
37
37
  API.init_api(api_key, delivery_token, environment, @host, @branch, @live_preview, @proxy_details, retry_options)
38
38
  end
39
-
39
+
40
40
  def content_types
41
41
  ContentType.all
42
42
  end
@@ -56,21 +56,21 @@ module Contentstack
56
56
  def live_preview_query(query={})
57
57
  API.live_preview_query(query)
58
58
  end
59
-
59
+
60
60
  # Syncs your Contentstack data with your app and ensures that the data is always up-to-date by providing delta updates
61
- #
61
+ #
62
62
  # Stack.sync({'init': true}) // For initializing sync
63
- #
63
+ #
64
64
  # Stack.sync({'init': true, 'locale': 'en-us'}) //For initializing sync with entries of a specific locale
65
- #
65
+ #
66
66
  # Stack.sync({'init': true, 'start_date': '2018-10-22'}) //For initializing sync with entries published after a specific date
67
- #
67
+ #
68
68
  # Stack.sync({'init': true, 'content_type_uid': 'session'}) //For initializing sync with entries of a specific content type
69
- #
69
+ #
70
70
  # Stack.sync({'init': true, 'type': 'entry_published'}) // Use the type parameter to get a specific type of content.Supports 'asset_published', 'entry_published', 'asset_unpublished', 'entry_unpublished', 'asset_deleted', 'entry_deleted', 'content_type_deleted'.
71
- #
71
+ #
72
72
  # Stack.sync({'pagination_token': '<pagination>'}) // For fetching the next batch of entries using pagination token
73
- #
73
+ #
74
74
  # Stack.sync({'sync_token': '<sync>'}) // For performing subsequent sync after initial sync
75
75
  #
76
76
  # @param params [Hash] params is an object that supports ‘locale’, ‘start_date’, ‘content_type_uid’, and ‘type’ queries.
@@ -91,6 +91,8 @@ module Contentstack
91
91
  host = "#{Contentstack::Host::PROTOCOL}azure-na-cdn.#{Contentstack::Host::HOST}"
92
92
  when "azure-eu"
93
93
  host = "#{Contentstack::Host::PROTOCOL}azure-eu-cdn.#{Contentstack::Host::HOST}"
94
+ when "gcp-na"
95
+ host = "#{Contentstack::Host::PROTOCOL}gcp-na-cdn.#{Contentstack::Host::HOST}"
94
96
  end
95
97
  host
96
98
  end
@@ -109,15 +111,17 @@ module Contentstack
109
111
  host = "#{Contentstack::Host::PROTOCOL}azure-na-cdn.#{custom_host}"
110
112
  when "azure-eu"
111
113
  host = "#{Contentstack::Host::PROTOCOL}azure-eu-cdn.#{custom_host}"
114
+ when "gcp-na"
115
+ host = "#{Contentstack::Host::PROTOCOL}gcp-na-cdn.#{custom_host}"
112
116
  end
113
117
  elsif options[:host].present? && region.empty?
114
118
  custom_host = options[:host]
115
119
  host = "#{Contentstack::Host::PROTOCOL}cdn.#{custom_host}"
116
120
  else
117
- host = "#{Contentstack::Host::PROTOCOL}#{Contentstack::Host::DEFAULT_HOST}" #set default host if region and host is empty
121
+ host = "#{Contentstack::Host::PROTOCOL}#{Contentstack::Host::DEFAULT_HOST}" #set default host if region and host is empty
118
122
  end
119
123
  host
120
124
  end
121
125
 
122
126
  end
123
- end
127
+ end
@@ -4,6 +4,7 @@ module Contentstack
4
4
  US='us'
5
5
  AZURE_NA='azure-na'
6
6
  AZURE_EU='azure-eu'
7
+ GCP_NA='gcp-na'
7
8
  end
8
9
 
9
10
  class Host
@@ -11,4 +12,4 @@ module Contentstack
11
12
  DEFAULT_HOST='cdn.contentstack.io'
12
13
  HOST='contentstack.com'
13
14
  end
14
- end
15
+ end
@@ -1,3 +1,3 @@
1
1
  module Contentstack
2
- VERSION = "0.7.0"
3
- end
2
+ VERSION = "0.8.1"
3
+ end
@@ -9,6 +9,7 @@ describe Contentstack do
9
9
  let(:custom_host_eu_client) { create_client('DELIVERY_TOKEN_TOKEN', 'API_KEY', 'STACK_ENV', {host: "contentstack.com", region: Contentstack::Region::EU}) }
10
10
  let(:custom_host_azure_eu_client) { create_client('DELIVERY_TOKEN_TOKEN', 'API_KEY', 'STACK_ENV', {host: "contentstack.com", region: Contentstack::Region::AZURE_EU}) }
11
11
  let(:custom_host_azure_na_client) { create_client('DELIVERY_TOKEN_TOKEN', 'API_KEY', 'STACK_ENV', {host: "contentstack.com", region: Contentstack::Region::AZURE_NA}) }
12
+ let(:custom_host_gcp_na_client) { create_client('DELIVERY_TOKEN_TOKEN', 'API_KEY', 'STACK_ENV', {host: "contentstack.com", region: Contentstack::Region::GCP_NA}) }
12
13
 
13
14
  it "has a version number" do
14
15
  expect(Contentstack::VERSION).not_to be nil
@@ -23,42 +24,46 @@ describe Contentstack do
23
24
 
24
25
  it "has default host and region" do
25
26
  expect(client.region).to eq Contentstack::Region::US
26
- expect(client.host).to eq 'https://cdn.contentstack.io'
27
+ expect(client.host).to eq 'https://cdn.contentstack.io'
27
28
  end
28
29
 
29
30
  it "has custom region with region host" do
30
31
  expect(eu_client.region).to eq Contentstack::Region::EU
31
- expect(eu_client.host).to eq 'https://eu-cdn.contentstack.com'
32
+ expect(eu_client.host).to eq 'https://eu-cdn.contentstack.com'
32
33
  end
33
34
 
34
35
  it "has custom region with region host" do
35
36
  expect(azure_na_client.region).to eq Contentstack::Region::AZURE_NA
36
- expect(azure_na_client.host).to eq 'https://azure-na-cdn.contentstack.com'
37
+ expect(azure_na_client.host).to eq 'https://azure-na-cdn.contentstack.com'
37
38
  end
38
39
 
39
40
  it "has custom region with region host" do
40
41
  expect(azure_eu_client.region).to eq Contentstack::Region::AZURE_EU
41
- expect(azure_eu_client.host).to eq 'https://azure-eu-cdn.contentstack.com'
42
+ expect(azure_eu_client.host).to eq 'https://azure-eu-cdn.contentstack.com'
42
43
  end
43
44
 
44
45
  it "has custom host and eu region" do
45
- expect(custom_host_eu_client.host).to eq 'https://eu-cdn.contentstack.com'
46
+ expect(custom_host_eu_client.host).to eq 'https://eu-cdn.contentstack.com'
46
47
  end
47
48
 
48
49
  it "has custom host and azure-eu region" do
49
- expect(custom_host_azure_eu_client.host).to eq 'https://azure-eu-cdn.contentstack.com'
50
+ expect(custom_host_azure_eu_client.host).to eq 'https://azure-eu-cdn.contentstack.com'
50
51
  end
51
52
 
52
53
  it "has custom host and azure-na region" do
53
- expect(custom_host_azure_na_client.host).to eq 'https://azure-na-cdn.contentstack.com'
54
+ expect(custom_host_azure_na_client.host).to eq 'https://azure-na-cdn.contentstack.com'
55
+ end
56
+
57
+ it "has custom host and gcp-na region" do
58
+ expect(custom_host_gcp_na_client.host).to eq 'https://gcp-na-cdn.contentstack.com'
54
59
  end
55
60
 
56
61
 
57
62
  it "JSON to HTML" do
58
- expect(Contentstack::json_to_html({}, ContentstackUtils::Model::Options.new())).to eq ''
63
+ expect(Contentstack::json_to_html({}, ContentstackUtils::Model::Options.new())).to eq ''
59
64
  end
60
65
 
61
66
  it "JSON to HTML" do
62
- expect(Contentstack::render_content('', ContentstackUtils::Model::Options.new())).to eq ''
67
+ expect(Contentstack::render_content('', ContentstackUtils::Model::Options.new())).to eq ''
63
68
  end
64
- end
69
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentstack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Contentstack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-26 00:00:00.000000000 Z
11
+ date: 2026-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -103,11 +103,10 @@ extra_rdoc_files: []
103
103
  files:
104
104
  - ".github/workflows/check-branch.yml"
105
105
  - ".github/workflows/codeql-analysis.yml"
106
- - ".github/workflows/jira.yml"
106
+ - ".github/workflows/issues-jira.yml"
107
+ - ".github/workflows/policy-scan.yml"
107
108
  - ".github/workflows/release-gem.yml"
108
- - ".github/workflows/sast-scan.yml"
109
109
  - ".github/workflows/sca-scan.yml"
110
- - ".github/workflows/secrets-scan.yml"
111
110
  - ".gitignore"
112
111
  - ".talismanrc"
113
112
  - ".yardopts"
@@ -1,28 +0,0 @@
1
- name: Create JIRA ISSUE
2
- on:
3
- pull_request:
4
- types: [opened]
5
- jobs:
6
- security:
7
- 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-')}}
8
- runs-on: ubuntu-latest
9
- steps:
10
- - uses: actions/checkout@v2
11
- - name: Login into JIRA
12
- uses: atlassian/gajira-login@master
13
- env:
14
- JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
15
- JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
16
- JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
17
- - name: Create a JIRA Issue
18
- id: create
19
- uses: atlassian/gajira-create@master
20
- with:
21
- project: ${{ secrets.JIRA_PROJECT }}
22
- issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
23
- summary: |
24
- ${{ github.event.pull_request.title }}
25
- description: |
26
- PR: ${{ github.event.pull_request.html_url }}
27
-
28
- fields: "${{ secrets.JIRA_FIELDS }}"
@@ -1,11 +0,0 @@
1
- name: SAST Scan
2
- on:
3
- pull_request:
4
- types: [opened, synchronize, reopened]
5
- jobs:
6
- security:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v2
10
- - name: Horusec Scan
11
- run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd)
@@ -1,11 +0,0 @@
1
- name: Secrets Scan
2
- on:
3
- pull_request:
4
- types: [opened, synchronize, reopened]
5
- jobs:
6
- security:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v2
10
- - name: Gittyleaks
11
- uses: gupy-io/gittyleaks-action@v0.1