Skip to content

Filter Build Artifacts (#3861) #1224

Filter Build Artifacts (#3861)

Filter Build Artifacts (#3861) #1224

Workflow file for this run

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac
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