Skip to content
Merged
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
5 changes: 2 additions & 3 deletions .github/workflows/RerunUnstableFailures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
RerunUnstableFailures:
if: github.repository_owner == 'microsoft' && github.event.workflow_run.conclusion == 'failure'
runs-on: ubuntu-slim
environment: Official-Build
permissions:
actions: write
contents: read
Expand All @@ -27,16 +28,14 @@ jobs:

- name: Create GitHub App Token
id: app-token
if: vars.APP_ID != ''
continue-on-error: true
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: Rerun unstable failures
env:
GH_TOKEN: ${{ steps.app-token.outputs.token || secrets.RERUNPAT }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
$params = @{
Owner = $env:GITHUB_REPOSITORY_OWNER
Expand Down
Loading