Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-phase-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Fine-grained Personal Access Token (PAT) with the following permissions for microsoft/PR-Metrics:
# - Read access to Metadata
# - Read and Write access to Actions, Code (aka Contents), and Workflows
token: ${{ secrets.RELEASE_PHASE_1_CHECKOUT }}
token: ${{ secrets.RELEASE_CHECKOUT }}

- name: Release – Phase 1 – Internal
uses: ./.github/actions/release-phase-1-internal
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/release-phase-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
Expand All @@ -29,13 +29,18 @@ jobs:

- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# Fine-grained Personal Access Token (PAT) with the following permissions for microsoft/PR-Metrics:
# - Read access to Metadata
# - Read and Write access to Actions, Code (aka Contents), and Workflows
token: ${{ secrets.RELEASE_CHECKOUT }}

- name: Get Version
id: version
shell: pwsh
run: |-
$Version = Get-Content -Path '.github/workflows/support/release-phase-2-trigger.txt'
Write-Output -InputObject "VERSION=v$Version" >> $Env:GITHUB_OUTPUT
Write-Output -InputObject "VERSION=$Version" >> $Env:GITHUB_OUTPUT

- name: Update LICENSE.txt
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-phase-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
# Fine-grained Personal Access Token (PAT) with the following permissions for microsoft/PR-Metrics:
# - Read access to Metadata
# - Read and Write access to Code (aka Contents) and Discussions
token: ${{ secrets.RELEASE_PHASE_2_GITHUB_RELEASE }}
token: ${{ secrets.RELEASE_PHASE_3_GITHUB_RELEASE }}
Loading