Add user friendly capability text for msc4039.download_file
#13531
Workflow file for this run
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: Pull Request Base Branch | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| permissions: {} # No permissions required | |
| jobs: | |
| check_base_branch: | |
| name: Check PR base branch | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 | |
| with: | |
| script: | | |
| const baseBranch = context.payload.pull_request.base.ref; | |
| if (!['develop', 'staging'].includes(baseBranch) && !baseBranch.startsWith('feat/')) { | |
| core.setFailed(`Invalid base branch: ${baseBranch}`); | |
| } |