-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
28 lines (28 loc) · 992 Bytes
/
action.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
name: 'Stoat Action'
description: 'Supercharge your CI / CD pipelines'
author: 'Stoat Dev'
branding:
icon: 'sun'
color: 'white'
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
default: ${{ github.token }}
pr_branch_name:
default: ${{ github.head_ref || github.ref_name }}
description: github pull request branch name
actual_sha:
default: ${{ github.event.pull_request.head.sha || github.sha }}
description: the commit pushed, not the commit post merge like github.sha
run_attempt:
default: ${{ github.run_attempt }}
description: A unique number for each attempt of a particular workflow run in a repository. This number begins at 1 for the workflow run's first attempt, and increments with each re-run.
job_status:
default: ${{ job.status }}
description: current job status
run_matrix:
default: ${{ toJSON(matrix) }}
description: Matrix of the current run
runs:
using: 'node20'
main: 'action/dist/index.js'