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
2 changes: 2 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ jobs:
actionlint:
name: Run actionlint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-actionlint@12966547963631f8429d42bab860485b413003c2 # v1.0.22
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ on:
jobs:
dependency-review:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-dependency-review@12966547963631f8429d42bab860485b413003c2 # v1.0.22
10 changes: 4 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ on:
- "docs/**"
- ".github/workflows/deploy-docs.yml"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- id: build_docs
uses: it-at-m/lhm_actions/action-templates/actions/action-build-docs@12966547963631f8429d42bab860485b413003c2 # v1.0.22
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dockercompose-healthcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
docker-compose-healthcheck:
name: Run docker compose healthcheck
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-dockercompose-healthcheck@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/maven-node-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
TZ: Europe/Berlin # timezone
strategy:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ on:
jobs:
release-maven:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
outputs:
MVN_ARTIFACT_ID: ${{ steps.maven-release-step.outputs.MVN_ARTIFACT_ID }}
ARTIFACT_NAME: ${{ steps.maven-release-step.outputs.artifact-name }}
Expand All @@ -34,6 +37,7 @@ jobs:
app-path: ${{ github.event.inputs.app-path }}
releaseVersion: ${{ github.event.inputs.releaseVersion }}
developmentVersion: ${{ github.event.inputs.developmentVersion }}
use-pr: 'true'
SIGN_KEY_PASS: ${{ secrets.gpg_passphrase }}
CENTRAL_USERNAME: ${{ secrets.sonatype_username }}
CENTRAL_PASSWORD: ${{ secrets.sonatype_password }}
Expand All @@ -42,6 +46,8 @@ jobs:
build-image:
runs-on: ubuntu-latest
needs: release-maven
permissions:
packages: write
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
Expand All @@ -57,6 +63,8 @@ jobs:
create-github-release:
needs: release-maven
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download a single artifact
uses: it-at-m/lhm_actions/action-templates/actions/action-create-github-release@12966547963631f8429d42bab860485b413003c2 # v1.0.22
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
with:
app-path: ${{ inputs.app-path }}
releaseVersion: ${{ inputs.release-version }}
use-pr: 'true'
- id: node
uses: it-at-m/lhm_actions/action-templates/actions/action-npm-build@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
Expand All @@ -52,8 +53,10 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Centralized token in it-at-m GitHub organization

build-image:
runs-on: ubuntu-latest
needs: release
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: it-at-m/lhm_actions/action-templates/actions/action-build-image@12966547963631f8429d42bab860485b413003c2 # v1.0.22
with:
Expand All @@ -65,9 +68,12 @@ jobs:
image-tags: |
type=semver,pattern={{version}},value=${{ needs.release.outputs.ARTIFACT_VERSION }}
type=raw,value=latest

create-github-release:
needs: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Create GitHub Release
uses: it-at-m/lhm_actions/action-templates/actions/action-create-github-release@12966547963631f8429d42bab860485b413003c2 # v1.0.22
Expand Down
Loading