mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
feat: add pull-request-operation output
This commit is contained in:
parent
2455e15969
commit
b5f41d9b08
4 changed files with 56 additions and 23 deletions
|
@ -66,7 +66,13 @@ All inputs are **optional**. If not set, sensible defaults will be used.
|
|||
|
||||
### Action outputs
|
||||
|
||||
The pull request number and URL are available as step outputs.
|
||||
The following outputs can be used by subsequent workflow steps.
|
||||
|
||||
- `pull-request-number` - The pull request number.
|
||||
- `pull-request-url` - The URL of the pull request.
|
||||
- `pull-request-operation` - The pull request operation performed by the action, `created`, `updated` or `closed`.
|
||||
|
||||
Step outputs can be accessed as in the following example.
|
||||
Note that in order to read the step outputs the action step must have an id.
|
||||
|
||||
```yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue