diff --git a/.github/workflows/check_build.yml b/.github/workflows/check_build.yml index 5f993e0..73c5601 100644 --- a/.github/workflows/check_build.yml +++ b/.github/workflows/check_build.yml @@ -9,12 +9,12 @@ jobs: name: Lint commits runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: # we actually need "github.event.pull_request.commits + 1" commit fetch-depth: 0 - name: Volta - uses: volta-cli/action@v4 + uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4.2.1 - run: npm ci - run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose check: @@ -23,21 +23,21 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 with: fetch-depth: 0 - name: Volta - uses: volta-cli/action@v4 + uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4.2.1 - name: Install dependencies run: npm ci - name: Build run: npm run build - name: Generate release notes preview id: build-release-notes - uses: guilhermetod/semantic-release-notes-preview@v1.0.0 + uses: guilhermetod/semantic-release-notes-preview@015a2c1849e7703ee43e0350b04970ae3a76b49d # v1.0.0 - name: Comment release notes preview if: steps.build-release-notes.outputs.releaseNotes - uses: peter-evans/create-or-update-comment@v1 + uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5 with: issue-number: ${{ github.event.number }} body: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30f6bf0..2b5c0ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0 + with: + persist-credentials: false - name: Volta - uses: volta-cli/action@v4 + uses: volta-cli/action@5c175f92dea6f48441c436471e6479dbc192e194 # v4.2.1 - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts - name: Build run: npm run build - name: Release