diff --git a/.github/workflows/__main-ci.yml b/.github/workflows/__main-ci.yml index be3f6420..9a5e4c97 100644 --- a/.github/workflows/__main-ci.yml +++ b/.github/workflows/__main-ci.yml @@ -32,7 +32,7 @@ jobs: release: needs: ci if: github.event_name != 'schedule' - uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@96630200183ad2374b71f20a6cb6d828c5e8b2c2 # 0.6.0 + uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@d404b9ebce43ba9b1cf12fc83be5839a32dde2bd # 0.6.1 with: update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }} github-app-id: ${{ vars.CI_BOT_APP_ID }} diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 39c62faa..8a383f86 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -62,7 +62,7 @@ jobs: runs-on: ${{ fromJson(inputs.runs-on) }} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - if: ${{ inputs.lint-all && github.event.repository.default_branch != github.ref }} + if: inputs.lint-all && github.ref_name != github.event.repository.default_branch with: ref: "${{ github.event.repository.default_branch }}"