Branch Manager #170571
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: Branch Manager | |
on: | |
workflow_dispatch: | |
inputs: | |
repo: | |
type: string | |
required: true | |
owner: | |
type: string | |
required: true | |
pr: | |
type: number | |
required: true | |
# sha is optional, and unused in this action. | |
sha: | |
type: string | |
required: false | |
# Declare default permissions as read only. | |
permissions: read-all | |
jobs: | |
branch_manager: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
# Setting `persist-credentials: false` prevents the github-action account from being the | |
# account that is attempted to be used for authentication, instead the remote is set to | |
# an authenticated URL. | |
persist-credentials: false | |
- uses: ./.github/local-actions/branch-manager | |
with: | |
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }} | |
repo: ${{ inputs.repo }} | |
owner: ${{ inputs.owner }} | |
pr: ${{ inputs.pr }} |