Skip to content

Commit 8acd2ee

Browse files
authored
Merge pull request #56 from github/missing-outputs
add missing outputs
2 parents 8aa56c8 + e0396f9 commit 8acd2ee

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ As seen above, we have a single example step. Perhaps you would actually use a r
216216
| `fork_label` | The API label field returned for the fork |
217217
| `fork_checkout` | The console command presented in the GitHub UI to checkout a given fork locally |
218218
| `fork_full_name` | The full name of the fork in "org/repo" format |
219+
| `sha` | The commit sha if being used in the context of a pull request |
220+
| `ref` | The ref if being used in the context of a pull request |
219221

220222
## Allowlist 👩‍🔬
221223

__tests__/schemas/action.schema.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,14 @@ outputs:
238238
description:
239239
type: string
240240
required: true
241+
ref:
242+
description:
243+
type: string
244+
required: true
245+
sha:
246+
description:
247+
type: string
248+
required: true
241249
initial_reaction_id:
242250
description:
243251
type: string

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ outputs:
9595
description: 'The console command presented in the GitHub UI to checkout a given fork locally'
9696
fork_full_name:
9797
description: 'The full name of the fork in "org/repo" format'
98+
sha:
99+
description: 'The commit sha if being used in the context of a pull request'
100+
ref:
101+
description: 'The ref if being used in the context of a pull request'
98102
runs:
99103
using: "node20"
100104
main: "dist/index.js"

0 commit comments

Comments
 (0)