Update dependency Microsoft.Testing.Extensions.CodeCoverage to v18 #42139
This file contains hidden or 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: Update Milestone | |
| on: | |
| push: | |
| pull_request_target: | |
| types: | |
| - closed | |
| - opened | |
| - reopened | |
| - synchronize | |
| permissions: | |
| actions: read | |
| checks: write | |
| contents: read | |
| deployments: read | |
| id-token: none | |
| issues: write | |
| discussions: none | |
| packages: none | |
| pages: none | |
| pull-requests: write | |
| repository-projects: none | |
| security-events: none | |
| statuses: write | |
| jobs: | |
| update_milestone: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| clean: 'false' | |
| fetch-depth: '0' | |
| - name: Fetch all history for all tags and branches | |
| run: | | |
| git fetch --prune | |
| - name: 🛠️ Setup mise | |
| uses: jdx/mise-action@v2 | |
| with: | |
| install: true | |
| cache: true | |
| - name: 🔨 Use GitVersion | |
| id: gitversion | |
| shell: pwsh | |
| run: | | |
| $data = dotnet-gitversion | ConvertFrom-Json | |
| foreach ($item in $data.PSObject.Properties) { | |
| $key = $item.Name | |
| $value = $item.Value | |
| echo "$($key.Substring(0,1).ToLower() + $key.Substring(1))=$value" >> $env:GITHUB_OUTPUT | |
| } | |
| - name: Create Milestone | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| uses: WyriHaximus/github-action-create-milestone@v1 | |
| with: | |
| title: v${{ steps.gitversion.outputs.majorMinorPatch }} | |
| - name: sync milestones | |
| uses: RocketSurgeonsGuild/actions/sync-milestone@v0.3.15 | |
| with: | |
| default-label: ':sparkles: mysterious' | |
| github-token: ${{ secrets.GITHUB_TOKEN }} |