diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index b8b39e60..e51296e2 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -13,12 +13,12 @@ jobs: concurrency: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@v6 # v6.0.2 - name: Setup pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v5 # v5.0.0 - name: Setup Node.js - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 # v6.3.0 with: node-version-file: '.nvmrc' cache: 'pnpm' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 172cac9d..281681e7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v5 + uses: actions/checkout@v6 # v6.0.2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v4 + uses: github/codeql-action/init@v4 # v4.34.1 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v4 + uses: github/codeql-action/autobuild@v4 # v4.34.1 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v4 + uses: github/codeql-action/analyze@v4 # v4.34.1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ac06fe8e..9ac85d02 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,19 +7,23 @@ on: concurrency: ${{ github.workflow }}-${{ github.ref }} +permissions: + id-token: write # Required for OIDC + contents: write # Required to push tags and releases + jobs: release: name: Release runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v5 + uses: actions/checkout@v6 # v6.0.2 - name: Setup pnpm - uses: pnpm/action-setup@v5 + uses: pnpm/action-setup@v5 # v5.0.0 - name: Setup Node - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 # v6.3.0 with: node-version-file: ".nvmrc" cache: "pnpm" @@ -29,10 +33,9 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - uses: changesets/action@v1 + uses: changesets/action@v1 # v1.7.0 with: version: pnpm run version publish: pnpm publish -r env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_SECRET }} diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 82bcca65..8a92d62c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Close Stale Issues - uses: actions/stale@v10 + uses: actions/stale@v10 # v10.2.0 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: |