chore(deps): update dependency microsoft.net.test.sdk to 17.11.1 #117
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: 🔄️Sync PR To Issue | |
defaults: | |
run: | |
shell: pwsh | |
on: | |
pull_request_target: | |
types: opened | |
issue_comment: # This event is triggered when creating issue and pr comments | |
types: created | |
jobs: | |
initial_sync: | |
name: Start Initial Sync | |
if: | | |
github.event_name == 'pull_request_target' && | |
!startsWith(github.head_ref, 'renovate/') && | |
github.head_ref != 'prev-release' && | |
github.head_ref != 'prod-release' | |
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected] | |
with: | |
issue-or-pr-number: ${{ github.event.pull_request.number }} | |
sync-type: initial | |
requested-by: ${{ github.event.sender.login }} | |
branch: ${{ github.event.pull_request.head.ref }} # Input not required for initial sync | |
secrets: | |
cicd-pat: ${{ secrets.CICD_TOKEN }} | |
manual_sync: | |
name: Start Manual Sync | |
if: | | |
github.event_name == 'issue_comment' && | |
github.event.issue.pull_request && github.event.issue.pull_request.url != null && | |
contains(github.event.comment.body, '[run-sync]') | |
uses: KinsonDigital/Infrastructure/.github/workflows/[email protected] | |
with: | |
issue-or-pr-number: ${{ github.event.issue.number }} | |
sync-type: manual | |
requested-by: "validate:${{ github.event.sender.login }}" | |
secrets: | |
cicd-pat: ${{ secrets.CICD_TOKEN }} |