Skip to content

feat(auth): add CamundaSecurityScopeProvider SPI + per-scope API chain builders #790

feat(auth): add CamundaSecurityScopeProvider SPI + per-scope API chain builders

feat(auth): add CamundaSecurityScopeProvider SPI + per-scope API chain builders #790

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
permissions:
contents: read
jobs:
verify:
name: Maven verify (unit + integration tests)
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Java 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Verify (compile, unit tests, integration tests)
run: ./mvnw --batch-mode --no-transfer-progress -T 1C clean verify
deploy-snapshot:
name: Deploy SNAPSHOT to Camunda Artifactory
needs: verify
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
timeout-minutes: 20
concurrency:
group: deploy-snapshot-${{ github.ref }}
cancel-in-progress: false
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Set up Java 21
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: '21'
cache: maven
- name: Create Maven settings.xml
uses: ./.github/actions/create-maven-setting-file
with:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_ROLE_ID: ${{ secrets.VAULT_ROLE_ID }}
VAULT_SECRET_ID: ${{ secrets.VAULT_SECRET_ID }}
- name: Deploy SNAPSHOT
run: ./mvnw --batch-mode --no-transfer-progress -DskipTests deploy