Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
71 changes: 0 additions & 71 deletions .github/actions/deploy-release/action.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .github/actions/scan-with-blackduck/action.yaml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/actions/scan-with-codeql/action.yaml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/actions/scan-with-sonar/action.yaml

This file was deleted.

27 changes: 18 additions & 9 deletions .github/workflows/main-build-and-deploy-oss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,40 @@ jobs:
name: Blackduck Scan
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Scan With Black Duck
uses: ./.github/actions/scan-with-blackduck
uses: cap-java/.github/actions/scan-with-blackduck@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
maven-version: ${{ env.MAVEN_VERSION }}
scan_mode: RAPID
project-name: com.sap.cds.feature.event-hub
included-modules: cds-feature-event-hub
scan_mode: FULL
codeql:
name: CodeQL Scan
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: read
actions: read
security-events: write
packages: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Scan With CodeQL
continue-on-error: true
uses: ./.github/actions/scan-with-codeql
uses: cap-java/.github/actions/scan-with-codeql@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
maven-version: ${{ env.MAVEN_VERSION }}
java-version: ${{ env.JAVA_VERSION }}
language: java-kotlin
queries: security-extended

# update-version:
# name: Update Version
Expand Down Expand Up @@ -114,13 +123,13 @@ jobs:
with:
name: root-build
- name: Deploy
uses: ./.github/actions/deploy-release
uses: cap-java/.github/actions/deploy-release@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
user: ${{ secrets.CAP_JAVA_CDS_FEATURE_EVENT_HUB_USER }}
password: ${{ secrets.CAP_JAVA_CDS_FEATURE_EVENT_HUB_PASS }}
pgp-pub-key: ${{ secrets.PGP_PUBKEY_ID }}
pgp-private-key: ${{ secrets.PGP_PRIVATE_KEY }}
pgp-passphrase: ${{ secrets.PGP_PASSPHRASE }}
gpg-pub-key: ${{ secrets.PGP_PUBKEY_ID }}
gpg-private-key: ${{ secrets.PGP_PRIVATE_KEY }}
gpg-passphrase: ${{ secrets.PGP_PASSPHRASE }}
revision: ${{ github.event.release.tag_name }}
maven-version: ${{ env.MAVEN_VERSION }}
- name: Echo Status
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,31 +38,40 @@ jobs:
name: Blackduck Scan
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Scan With Black Duck
uses: ./.github/actions/scan-with-blackduck
uses: cap-java/.github/actions/scan-with-blackduck@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
maven-version: ${{ env.MAVEN_VERSION }}
scan_mode: RAPID
project-name: com.sap.cds.feature.event-hub
included-modules: cds-feature-event-hub
scan_mode: FULL
codeql:
name: CodeQL Scan
runs-on: ubuntu-latest
timeout-minutes: 60
permissions:
contents: read
actions: read
security-events: write
packages: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Scan With CodeQL
continue-on-error: true
uses: ./.github/actions/scan-with-codeql
uses: cap-java/.github/actions/scan-with-codeql@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
maven-version: ${{ env.MAVEN_VERSION }}
java-version: ${{ env.JAVA_VERSION }}
language: java-kotlin
queries: security-extended

deploy-snapshot:
name: Deploy snapshot to Artifactory
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/pull-request-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,32 @@ env:
MAVEN_VERSION: '3.9.15'

on:
workflow_dispatch:
pull_request:
branches: [ "main" ]
types: [reopened, synchronize, opened]

jobs:
blackduck:
name: Blackduck Scan
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Scan With Black Duck
uses: cap-java/.github/actions/scan-with-blackduck@296573b55e906f5c77a1855bcfe4285cbbc5cac4 # main
with:
blackduck_token: ${{ secrets.BLACK_DUCK_TOKEN }}
maven-version: ${{ env.MAVEN_VERSION }}
project-name: com.sap.cds.feature.event-hub
included-modules: cds-feature-event-hub
scan_mode: RAPID
rapid_compare_mode: BOM_COMPARE # PRs might only be blocked by things they introduce, not by pre-existing issues that could have appeared in the main branch in the meantime

build:

runs-on: ubuntu-latest
Expand Down
Loading