Skip to content

Commit afe69d7

Browse files
fix: dont sign build on PR checks (#205)
* fix: dont sign build on PR checks * fix: try to fix security gate to scan with `--all-projects` * fix: use --exclude to remove tests folder
1 parent 1c93e65 commit afe69d7

5 files changed

Lines changed: 19 additions & 11 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- checkout
1313
- prodsec/security_scans:
1414
mode: auto
15-
open-source-scan-all-projects: false
16-
open-source-additional-arguments: --maven-aggregate-project -- -pl '!tests'
15+
open-source-scan-all-projects: true
16+
open-source-additional-arguments: --exclude=tests
1717
iac-scan: disabled
1818

1919
workflows:

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Decode Keystore
2828
id: decode_keystore
29-
if: ${{ matrix.os == 'ubuntu-latest' }}
29+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' }}
3030
env:
3131
fileName: ./keystore.jks
3232
encodedString: ${{ secrets.KEYSTORE }}
@@ -37,13 +37,13 @@ jobs:
3737
sha256sum -c sha256.txt
3838
3939
- name: Build with Maven
40-
if: ${{ matrix.os == 'ubuntu-latest' }}
40+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && matrix.os == 'ubuntu-latest' }}
4141
run: ./mvnw clean verify -P sign -DtrimStackTrace=false
4242
env:
4343
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
4444

4545
- name: Build with Maven
46-
if: ${{ matrix.os != 'ubuntu-latest' }}
46+
if: ${{ github.ref != 'refs/heads/main' }}
4747
run: |
4848
./mvnw clean verify -DtrimStackTrace=false
4949

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22

33
## [2.2.0] - Unreleased
44
### Changes
5+
- remove keystore decoding from PR checks
6+
- update jackson dependencies
7+
- allow to select/deselect code quality findings
8+
9+
10+
## [2.2.0] - v20240829.120828
11+
### Changes
512
- update required protocol version to 14
613
- integrate latest docs incl. troubleshooting
714
- default to oauth2 when authenticating
15+
- rename token field
816

917
## [2.2.0] - v20240619.131238
1018
### Changes

target-platform/target-platform.target

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,19 @@
3131
<dependency>
3232
<groupId>com.fasterxml.jackson.core</groupId>
3333
<artifactId>jackson-annotations</artifactId>
34-
<version>2.14.0</version>
34+
<version>2.15.0</version>
3535
<type>jar</type>
3636
</dependency>
3737
<dependency>
3838
<groupId>com.fasterxml.jackson.core</groupId>
3939
<artifactId>jackson-core</artifactId>
40-
<version>2.14.0</version>
40+
<version>2.15.0</version>
4141
<type>jar</type>
4242
</dependency>
4343
<dependency>
4444
<groupId>com.fasterxml.jackson.core</groupId>
4545
<artifactId>jackson-databind</artifactId>
46-
<version>2.14.0</version>
46+
<version>2.15.0</version>
4747
<type>jar</type>
4848
</dependency>
4949
<dependency>

tests/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@
1313
<dependency>
1414
<groupId>com.fasterxml.jackson.core</groupId>
1515
<artifactId>jackson-annotations</artifactId>
16-
<version>2.14.0</version>
16+
<version>2.15.0</version>
1717
<type>jar</type>
1818
</dependency>
1919
<dependency>
2020
<groupId>com.fasterxml.jackson.core</groupId>
2121
<artifactId>jackson-core</artifactId>
22-
<version>2.14.0</version>
22+
<version>2.15.0</version>
2323
<type>jar</type>
2424
</dependency>
2525
<dependency>
2626
<groupId>com.fasterxml.jackson.core</groupId>
2727
<artifactId>jackson-databind</artifactId>
28-
<version>2.14.0</version>
28+
<version>2.15.0</version>
2929
<type>jar</type>
3030
</dependency>
3131
<dependency>

0 commit comments

Comments
 (0)