This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
fix(deps): update dependency io.jsonwebtoken:jjwt-impl to v0.12.6 #2182
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- "**" | |
tags: [ "v*.*.*" ] | |
pull_request: | |
types: | |
- "opened" | |
- "synchronize" | |
- "reopened" | |
- "labeled" | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action != 'labeled' }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4 | |
with: | |
cache: maven | |
distribution: temurin | |
java-version: 21 | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive | |
- name: Update dependency graph | |
if: github.ref == 'refs/heads/main' | |
uses: advanced-security/maven-dependency-submission-action@4f64ddab9d742a4806eeb588d238e4c311a8397d # v4 | |
docker: | |
uses: reims2/actions/.github/workflows/docker.yml@main | |
concurrency: docker-backend-${{ github.ref }} | |
if: ${{ github.event_name != 'merge_group' && github.event.action != 'labeled' }} | |
secrets: inherit # pass all secrets | |
deploy: | |
needs: | |
- docker | |
- ci # since we don"t execute tests in docker build | |
if: github.ref == 'refs/heads/main' | |
uses: reims2/actions/.github/workflows/deploy.yml@main | |
concurrency: deploy-${{ github.repository }} | |
secrets: inherit # pass all secrets | |
dev-deploy: | |
needs: | |
- docker | |
if: github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/dev' | |
uses: reims2/actions/.github/workflows/dev-deploy.yml@main | |
concurrency: dev-deploy-${{ github.repository }} | |
secrets: inherit # pass all secrets | |
pr-deploy: | |
needs: | |
- docker | |
if: ${{ (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'deploy')) }} | |
uses: reims2/actions/.github/workflows/deploy-instance.yml@main | |
concurrency: pr-deploy-backend-${{ github.ref }} | |
with: | |
instance_name: backend-pr-${{ github.event.number || 'unknown' }} | |
secrets: inherit # pass all secrets |