Skip to content

Commit

Permalink
Enrich application.properties with annotations (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
nscuro authored Apr 16, 2024
1 parent ecb8cc5 commit 94d0621
Show file tree
Hide file tree
Showing 2 changed files with 743 additions and 187 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/config-docs-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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: Update Config Documentation

on:
push:
branches:
- main
paths:
- src/main/resources/application.properties

permissions: { }

jobs:
trigger-update:
name: Trigger Update
runs-on: ubuntu-latest
timeout-minutes: 5
if: "${{ github.repository_owner == 'DependencyTrack' }}"
steps:
- name: Dispatch Update Event
env:
# NB: The default GITHUB_TOKEN is scoped to the repository where
# the workflow is running, thus can't trigger workflows in other
# repos. Requires a PAT with `write` role to the target instead.
GH_TOKEN: "${{ secrets.BOT_RELEASE_TOKEN }}"
run: |-
gh workflow run update-config-docs.yml -R DependencyTrack/hyades
Loading

0 comments on commit 94d0621

Please sign in to comment.