diff --git a/.github/actions/release/action.yaml b/.github/actions/create-github-release/action.yaml similarity index 70% rename from .github/actions/release/action.yaml rename to .github/actions/create-github-release/action.yaml index e10ab03..3bbd71f 100644 --- a/.github/actions/release/action.yaml +++ b/.github/actions/create-github-release/action.yaml @@ -1,4 +1,4 @@ -name: Release +name: Create GitHub Release description: create a GitHub Release and upload artifacts inputs: @@ -13,12 +13,12 @@ runs: using: "composite" steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 with: - node-version: 22.6 + node-version-file: .tool-versions - name: Install dependencies shell: bash @@ -34,7 +34,7 @@ runs: zip -r notoin-bar-colorize.zip dist/ - name: Release - uses: softprops/action-gh-release@v2 + uses: softprops/action-gh-release@7b4da11513bf3f43f9999e90eabced41ab8bb048 # v2.2.0 with: files: notoin-bar-colorize.zip body_path: CHANGELOG.md diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index 1ad20d1..abba266 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -19,16 +19,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Setup Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 + - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 + uses: actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13 with: source: ./docs destination: ./_docs + - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: ./_docs @@ -44,4 +47,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c25cec8..de7279a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Release uses: ./.github/actions/release diff --git a/.github/workflows/tagpr.yaml b/.github/workflows/tagpr.yaml index dc3d57e..c0ac3ff 100644 --- a/.github/workflows/tagpr.yaml +++ b/.github/workflows/tagpr.yaml @@ -13,10 +13,12 @@ jobs: contents: write pull-requests: write issues: read - + outputs: + tag: ${{ steps.tagpr.outputs.tag }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - uses: Songmu/tagpr@3dca11e7c0d68637ee212ddd35acc3d30a7403a4 # v1.5.0 id: tagpr env: