Skip to content

Implement service account API key expiry #457

Implement service account API key expiry

Implement service account API key expiry #457

Workflow file for this run

# This file is part of Dependency-Track.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) OWASP Foundation. All Rights Reserved.
name: CodeQL
on:
push:
branches:
- 'main' # Main branch
- 'feature-**' # Feature branch
- '[0-9]+.[0-9]+.x' # Release branches
pull_request:
branches:
- 'main' # Main branch
- 'feature-**' # Feature branch
- '[0-9]+.[0-9]+.x' # Release branches
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions: { }
jobs:
analyze-java:
name: Analyze Java
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
security-events: write # Required to upload analysis results.
steps:
- name: Checkout Repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # tag=v7.0.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@cdf488f595d80d6e07e03d4674febd5ab45fa938 # tag=v4.37.9
with:
languages: java-kotlin
build-mode: none
config: |
paths-ignore:
- '**/src/test/**'
- 'e2e/**'
- name: Analyze
uses: github/codeql-action/analyze@cdf488f595d80d6e07e03d4674febd5ab45fa938 # tag=v4.37.9