Add custom action
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
fc1fe02f69
commit
c14eb2ce63
2 changed files with 15 additions and 19 deletions
19
.github/workflows/issue_parser.yaml
vendored
19
.github/workflows/issue_parser.yaml
vendored
|
@ -1,19 +0,0 @@
|
||||||
on:
|
|
||||||
issue_comment:
|
|
||||||
types: [created, edited]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
parse-comment:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Parse Comment
|
|
||||||
steps:
|
|
||||||
- name: Issue Refs Parser Action
|
|
||||||
uses: FujiHaruka/issue-refs-parser-action@v1.1
|
|
||||||
id: action
|
|
||||||
with:
|
|
||||||
body: ${{ github.event.comment.body }}
|
|
||||||
self_slug: hugo-toha/toha
|
|
||||||
- name: Get The Outputs
|
|
||||||
run: |
|
|
||||||
echo "refs: ${{ steps.action.outputs.refs }}"
|
|
||||||
echo "external_refs: ${{ steps.action.outputs.external_refs }}"
|
|
15
.github/workflows/linked_issues.yaml
vendored
Normal file
15
.github/workflows/linked_issues.yaml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
linked_issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: A job to say hello
|
||||||
|
steps:
|
||||||
|
- name: Hello world action step
|
||||||
|
id: hello
|
||||||
|
uses: hossainemruz/linked-issues@v0.0.1
|
||||||
|
with:
|
||||||
|
who-to-greet: 'Mona the Octocat'
|
||||||
|
# Use the output from the `hello` step
|
||||||
|
- name: Get the output time
|
||||||
|
run: echo "The time was ${{ steps.hello.outputs.time }}"
|
Loading…
Add table
Add a link
Reference in a new issue