Streams Hold References on Connections (#3931) #1283
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
- prerelease/* | |
tags: | |
- v* | |
permissions: read-all | |
jobs: | |
mirror: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
name: Mirror | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
fetch-depth: 0 | |
- name: Sync mirror | |
shell: pwsh | |
env: | |
AzDO_PAT: ${{ secrets.AZDO_PAT }} | |
Source: ${{ github.ref }} # refs/heads/<branch_name> or refs/tags/<tag_name> | |
run: scripts/sync-mirror.ps1 -Source $env:Source |