diff --git a/.github/actions/version-bumping/maven/README.md b/.github/actions/version-bumping/maven/README.md index f71e7b4..9931981 100644 --- a/.github/actions/version-bumping/maven/README.md +++ b/.github/actions/version-bumping/maven/README.md @@ -58,7 +58,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Bump Maven Version - uses: sap/pull-request-semver-bumper@main + uses: sap/pull-request-semver-bumper@v1 env: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} diff --git a/.github/actions/version-bumping/npm/README.md b/.github/actions/version-bumping/npm/README.md index ecd0d8d..132eb5c 100644 --- a/.github/actions/version-bumping/npm/README.md +++ b/.github/actions/version-bumping/npm/README.md @@ -49,7 +49,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Bump NPM Version - uses: sap/pull-request-semver-bumper@main + uses: sap/pull-request-semver-bumper@v1 with: type: npm token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/actions/version-bumping/python/README.md b/.github/actions/version-bumping/python/README.md index 50483e7..5498997 100644 --- a/.github/actions/version-bumping/python/README.md +++ b/.github/actions/version-bumping/python/README.md @@ -55,7 +55,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Bump Python Version - uses: sap/pull-request-semver-bumper@main + uses: sap/pull-request-semver-bumper@v1 with: type: python token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/actions/version-bumping/version-file/README.md b/.github/actions/version-bumping/version-file/README.md index b34056e..3c61123 100644 --- a/.github/actions/version-bumping/version-file/README.md +++ b/.github/actions/version-bumping/version-file/README.md @@ -52,7 +52,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Bump Version File - uses: sap/pull-request-semver-bumper@main + uses: sap/pull-request-semver-bumper@v1 with: type: version-file token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8cfa3e8..60c4c42 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -8,7 +8,6 @@ on: - opened - synchronize - reopened - merge_group: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -47,7 +46,7 @@ jobs: run: npm run build - name: Commit build artifacts (same-repo PRs only) - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + if: github.event.pull_request.head.repo.full_name == github.repository uses: EndBug/add-and-commit@v9 with: add: "." @@ -56,7 +55,7 @@ jobs: push: true - name: Fail if dist is dirty (Forked PRs only) - if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository + if: github.event.pull_request.head.repo.full_name != github.repository working-directory: .github/actions/core run: | if [[ -n $(git status --porcelain dist) ]]; then