Branch Manager #185952
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
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 }} |