shared-actions/secrets-inject
2026-04-24 15:57:40 +02:00
..
action.yml refactor: move action to repo root 2026-04-24 15:57:40 +02:00
README.md refactor: move action to repo root 2026-04-24 15:57:40 +02:00

secrets-inject

Append secret properties content to a Java .properties file.

Inputs

Input Required Default Description
secret-content Yes Properties content to append
target-file Yes Path to the .properties file

Usage

- uses: schmalz/shared-actions/.github/actions/secrets-inject@v1
  with:
    secret-content: ${{ secrets.APP_SECRETS }}
    target-file: src/main/resources/application.properties

Notes

  • A blank line is inserted before the appended content to avoid merging with the last existing line.