diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 626f8c73f..7a55952e3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,10 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "wednesday" - package-ecosystem: "dotnet-sdk" directory: "/msbuild" schedule: diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index ee4eceb1f..aa85cabad 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -15,7 +15,7 @@ permissions: jobs: backport: if: ${{ contains(github.event.comment.body, '/backport to') || github.event_name == 'schedule' }} - uses: dotnet/arcade/.github/workflows/backport-base.yml@main + uses: dotnet/arcade/.github/workflows/backport-base.yml@042024f31f9f89422bc172362a04b5a51ac17df9 # main with: pr_description_template: | Backport of #%source_pr_number% to %target_branch% diff --git a/.github/workflows/branch-snap.yml b/.github/workflows/branch-snap.yml index ef117a817..c804e0481 100644 --- a/.github/workflows/branch-snap.yml +++ b/.github/workflows/branch-snap.yml @@ -8,7 +8,7 @@ permissions: jobs: check-script: - uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@main + uses: dotnet/arcade/.github/workflows/inter-branch-merge-base.yml@042024f31f9f89422bc172362a04b5a51ac17df9 # main with: configuration_file_path: '.config/snap-flow.json' @@ -18,9 +18,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 - name: Install NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: '24.x' - name: Install dependencies @@ -28,7 +28,7 @@ jobs: - name: Update version.json run: npm run incrementVersion - name: Create version update PR - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update main version @@ -41,12 +41,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out merge branch - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: ref: merge/prerelease-to-release fetch-depth: 0 - name: Install NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: '24.x' - name: Install dependencies diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 49e1fa4b1..66bf734c1 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -23,16 +23,16 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 # Install Node.js (required for TypeScript compilation and npm packages) - - uses: actions/setup-node@v4 + - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: '24' cache: 'npm' # Install .NET SDK (required for some build components and MSBuild tasks) - - uses: actions/setup-dotnet@v4 + - uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4 with: dotnet-version: '10.0.x' diff --git a/.github/workflows/release-comment-handler.yml b/.github/workflows/release-comment-handler.yml index d1b9473f4..0b1ce458c 100644 --- a/.github/workflows/release-comment-handler.yml +++ b/.github/workflows/release-comment-handler.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Gather participants id: participants - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: script: | console.log("=== WORKFLOW START ==="); @@ -125,7 +125,7 @@ jobs: result-encoding: string - name: Add label comment - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 with: script: | console.log("=== STEP 2: ADD COMMENT ==="); diff --git a/.github/workflows/release-reusable.yml b/.github/workflows/release-reusable.yml index 4a2b0426b..13745f8da 100644 --- a/.github/workflows/release-reusable.yml +++ b/.github/workflows/release-reusable.yml @@ -16,12 +16,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout tag - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 with: ref: refs/tags/${{ inputs.tag }} - name: Create release from CHANGELOG - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 env: TAG: ${{ inputs.tag }} with: diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 92e544943..bf5c47870 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -14,13 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out - uses: actions/checkout@v2 + uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2 with: fetch-depth: 0 - name: Install roslyn-tools run: dotnet tool install -g Microsoft.RoslynTools --prerelease --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json - name: Install NodeJS - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 with: node-version: '24.x' - name: Install dependencies @@ -28,7 +28,7 @@ jobs: - name: Update CHANGELOG run: npm run updateChangelog - name: Create update PR - uses: peter-evans/create-pull-request@v4 + uses: peter-evans/create-pull-request@38e0b6e68b4c852a5500a94740f0e535e0d7ba54 # v4 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Update ${{ github.ref_name }} CHANGELOG diff --git a/azure-pipelines/green-insertion.yml b/azure-pipelines/green-insertion.yml index 5a139584d..0fe7f879a 100644 --- a/azure-pipelines/green-insertion.yml +++ b/azure-pipelines/green-insertion.yml @@ -23,6 +23,7 @@ resources: - repository: VSCodeExtensionRepo type: git name: vs-green + ref: a51da83e979246d6c4c52970990ac721fc94d1f7 # refs/heads/main jobs: - job: npmpack