diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7772c15df3..6985b2b32c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,10 +19,10 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - name: Use Node.js 24 - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: '24.16.0' @@ -81,7 +81,7 @@ jobs: - name: Deploy to github pages if: ${{ github.event_name == 'push' }} - uses: JamesIves/github-pages-deploy-action@v4 + uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # v4 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BRANCH: gh-pages diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index fb93cadc52..8859694183 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Count commits in PR id: count - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -57,7 +57,7 @@ jobs: - name: Post squash instructions if: failure() - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -120,7 +120,7 @@ jobs: - name: Clean up comment on success if: success() - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/create-docker-hub-image.yml b/.github/workflows/create-docker-hub-image.yml index 957e20320d..8e49649f32 100644 --- a/.github/workflows/create-docker-hub-image.yml +++ b/.github/workflows/create-docker-hub-image.yml @@ -11,19 +11,19 @@ jobs: DOCKER_ORGANIZATION: ${{ secrets.DOCKER_ORGANIZATION }} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - name: Set up QEMU - uses: docker/setup-qemu-action@v4 + uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4 - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 with: install: true - name: Log in to Docker Hub - uses: docker/login-action@v4 + uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/license-headers.yml b/.github/workflows/license-headers.yml index 54f2beed19..7d046fc1f9 100644 --- a/.github/workflows/license-headers.yml +++ b/.github/workflows/license-headers.yml @@ -18,10 +18,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - name: Use Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: '24.16.0' cache: 'npm' @@ -74,7 +74,7 @@ jobs: - name: Comment on PR (if failed) if: failure() && github.event_name == 'pull_request' - uses: actions/github-script@v8 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 025306f002..d2a0480920 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -27,10 +27,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - name: Use Node.js 24 - uses: actions/setup-node@v6 + uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: node-version: '24.16.0' cache: 'npm' @@ -102,7 +102,7 @@ jobs: docker stats --no-stream || true - name: Upload Playwright report - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 if: always() with: name: playwright-report @@ -110,7 +110,7 @@ jobs: retention-days: 7 - name: Upload test results - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 if: failure() with: name: test-results diff --git a/.github/workflows/scan-skills.yml b/.github/workflows/scan-skills.yml index a3daba1650..82e7b51106 100644 --- a/.github/workflows/scan-skills.yml +++ b/.github/workflows/scan-skills.yml @@ -10,7 +10,7 @@ on: jobs: scan: - uses: cisco-ai-defense/skill-scanner/.github/workflows/scan-skills.yml@main + uses: cisco-ai-defense/skill-scanner/.github/workflows/scan-skills.yml@41fec4a9570ba1d195d12dbb0b4d140a35e63068 # main with: # We tell the scanner to look at the skills directory skill_path: skills