1/10/2024 PM Publish #71
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
# This workflow verifies that an author submitting a pull request to the live | |
# branch is authorized to do so; only users with maintainer or admin rights may | |
# target the live branch directly. | |
name: Authorization | |
on: | |
pull_request_target: | |
branches: | |
- live | |
permissions: | |
contents: read | |
jobs: | |
Test: | |
name: Check Branch Permissions | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: pwsh | |
steps: | |
- name: Authorized to Target Live Branch? | |
uses: MicrosoftDocs/PowerShell-Docs/.github/actions/verification/authorization/v1@main | |
with: | |
token: ${{ github.token }} |