diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..2c48305b7e --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index f5ddaf15a4..3b561283d5 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -25,13 +25,13 @@ jobs: timeout-minutes: 10 steps: - name: Checkout PowerShellEditorServices - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: PowerShell/PowerShellEditorServices path: PowerShellEditorServices - name: Checkout vscode-powershell - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: path: vscode-powershell @@ -41,7 +41,7 @@ jobs: working-directory: vscode-powershell - name: Install dotnet - uses: actions/setup-dotnet@v5 + uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0 with: cache: true cache-dependency-path: PowerShellEditorServices/**/*.csproj @@ -52,7 +52,7 @@ jobs: shell: pwsh run: ./vscode-powershell/tools/installPSResources.ps1 - - uses: actions/setup-node@v6 + - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 with: node-version: 22 cache: npm @@ -75,7 +75,7 @@ jobs: working-directory: vscode-powershell - name: Upload build artifacts - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: # archive: false uploads the .vsix directly (no zip wrapper) using the filename as the artifact name @@ -84,7 +84,7 @@ jobs: if-no-files-found: ignore - name: Upload test results - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: name: vscode-powershell-test-results-${{ matrix.os }}