-
Notifications
You must be signed in to change notification settings - Fork 49
38 lines (35 loc) · 1.04 KB
/
branch-manager.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
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 }}