-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathaction.yaml
More file actions
24 lines (22 loc) · 746 Bytes
/
action.yaml
File metadata and controls
24 lines (22 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: github_app_token
description: Create a token for making Pull Requests
# Note: this just calls tibdex/github-app-token, but it allows us to keep it in one place.
inputs:
app_id:
description: Application ID used to make the PR
required: true
app_private_key:
description: Application Private Key used to sign the PR
required: true
outputs:
token:
description: A token for making Pull Requests
value: ${{ steps.generate-token.outputs.token }}
runs:
using: "composite"
steps:
- uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v1.5 # cspell:ignore tibdex
id: generate-token
with:
app_id: ${{ inputs.app_id }}
private_key: ${{ inputs.app_private_key }}