diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index 7971a30..d9faf0e 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -12,7 +12,7 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 # Required for merge-base checks - uses: ./ # self test diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 54b1e22..2e6068d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,7 +21,7 @@ jobs: re-tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 ref: ${{ inputs.ref }} @@ -31,11 +31,13 @@ jobs: git config user.email '41898282+github-actions[bot]@users.noreply.github.com' - name: Update tag with parameter if: github.event.inputs.tag != '' + env: + TAG: ${{ inputs.tag }} run: | - git tag --delete ${{ inputs.tag }} || true - git push --delete origin ${{ inputs.tag }} || true - git tag -a ${{ inputs.tag }} -m 'Retag ${{ inputs.tag }}' - git push origin ${{ inputs.tag }} + git tag --delete "$TAG" || true + git push --delete origin "$TAG" || true + git tag -a "$TAG" -m "Retag $TAG" + git push origin "$TAG" - name: Update tag to v2 if: github.event.inputs.tag == '' run: | diff --git a/.github/workflows/used-by.yml b/.github/workflows/used-by.yml index fae6e88..e1aa9de 100644 --- a/.github/workflows/used-by.yml +++ b/.github/workflows/used-by.yml @@ -14,7 +14,7 @@ jobs: used-by: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 - uses: shenxianpeng/used-by@v0.1.4 with: repo: '${{ github.repository }}' diff --git a/README.md b/README.md index 530b4c9..3924cab 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Commit Check](https://img.shields.io/github/actions/workflow/status/commit-check/commit-check-action/commit-check.yml?branch=main&label=Commit%20Check&color=blue&logo=github)](https://github.com/commit-check/commit-check-action/actions/workflows/commit-check.yml) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/commit-check/commit-check-action?color=blue) -[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=77&color=informational&logo=slickpic)](https://github.com/commit-check/commit-check-action/network/dependents) +[![Used by](https://img.shields.io/static/v1?label=Used%20by&message=101&color=informational&logo=slickpic)](https://github.com/commit-check/commit-check-action/network/dependents) [![GitHub marketplace](https://img.shields.io/badge/Marketplace-commit--check--action-blue)](https://github.com/marketplace/actions/commit-check-action) [![slsa-badge](https://slsa.dev/images/gh-badge-level3.svg?color=blue)](https://github.com/commit-check/commit-check-action/blob/a2873ca0482dd505c93fb51861c953e82fd0a186/action.yml#L59-L69)