mirror of
https://github.com/ditkrg/project-version-check.git
synced 2026-01-22 22:06:42 +00:00
Add label
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
73217f0541
commit
9ef3dbc165
6
.github/workflows/main.yaml
vendored
6
.github/workflows/main.yaml
vendored
@ -1,6 +1,8 @@
|
||||
name: Test Action
|
||||
|
||||
on: [push]
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
hello-world-job:
|
||||
@ -23,6 +25,6 @@ jobs:
|
||||
id: hello
|
||||
with:
|
||||
who-to-greet: "John"
|
||||
|
||||
label: ${{ github.event.label.name }}
|
||||
- name: Get the output time
|
||||
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
||||
|
||||
@ -5,6 +5,9 @@ inputs:
|
||||
description: "Who to greet"
|
||||
required: true
|
||||
default: "World"
|
||||
label:
|
||||
description: "Optional label"
|
||||
required: false
|
||||
outputs:
|
||||
time: # id of output
|
||||
description: "The time we greeted you"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user