diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index 020a19f..5ebd427 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -132,11 +132,11 @@ jobs: - name: 📦 Deploy artifacts to Maven Central run: mvn --batch-mode -Dmaven.test.skip=true deploy -P gpg-sign -P nexus-staging -Dnexus-staging-maven-plugin.autoReleaseAfterClose=false - # Deploy release to GitHub Packages + # Deploy releases and snapshots for main branch to GitHub Packages deploy-github-packages: needs: build runs-on: ubuntu-latest - if: ${{ !endsWith(needs.build.outputs.project_version, '-SNAPSHOT') && github.ref == 'refs/heads/main' }} + if: github.ref == 'refs/heads/main' permissions: contents: write packages: write diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89a7bcb..755c129 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: language: pygrep types: [text] - repo: https://github.com/zricethezav/gitleaks - rev: v8.21.2 + rev: v8.21.3 hooks: - id: gitleaks - repo: https://github.com/grigoriev/pre-commit-check-git-user