GitAuto: [FEATURE] Implement SKU Service Type API #1618
Workflow file for this run
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: Label based on PR size | |
on: | |
pull_request: | |
pull_request_target: | |
workflow_dispatch: | |
jobs: | |
size-label: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- name: size-label | |
if: >- | |
( | |
github.event_name == 'pull_request' && | |
github.event.pull_request.head.repo.full_name == github.repository | |
) || ( | |
github.event_name == 'pull_request_target' && | |
github.event.pull_request.head.repo.full_name != github.repository | |
) || ( | |
github.event_name == 'workflow_dispatch' | |
) | |
uses: "pascalgn/[email protected]" | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |