From 688ef53a0b6c6abf3805c40a2a42f9ae11bee2f8 Mon Sep 17 00:00:00 2001 From: Marty Tippin <120425148+tippmar-nr@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:01:27 -0600 Subject: [PATCH 1/2] ci: Tweak permissions for build_profiler workflow --- .github/workflows/build_profiler.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build_profiler.yml b/.github/workflows/build_profiler.yml index 630bdc145..0ccae1827 100644 --- a/.github/workflows/build_profiler.yml +++ b/.github/workflows/build_profiler.yml @@ -343,7 +343,6 @@ jobs: needs: package-and-deploy if: ${{ inputs.deploy }} permissions: - contents: write pull-requests: write steps: From e8ead944007f2b3e2e04bb7124726d0192df38a0 Mon Sep 17 00:00:00 2001 From: Marty Tippin <120425148+tippmar-nr@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:20:47 -0600 Subject: [PATCH 2/2] ci: change token for build_profiler --- .github/workflows/build_profiler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_profiler.yml b/.github/workflows/build_profiler.yml index 0ccae1827..c069a5ef6 100644 --- a/.github/workflows/build_profiler.yml +++ b/.github/workflows/build_profiler.yml @@ -372,6 +372,7 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 with: + token: ${{ secrets.DOTNET_AGENT_GH_TOKEN}} commit-message: "chore: Update Profiler NuGet Package Reference to v${{ needs.package-and-deploy.outputs.package_version }}." title: "chore: Update Profiler NuGet Package Reference to v${{ needs.package-and-deploy.outputs.package_version }}" branch: profiler-nuget-updates/${{ github.ref_name }}