Add custom action

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-11-04 01:40:46 +06:00
parent fc1fe02f69
commit c14eb2ce63
2 changed files with 15 additions and 19 deletions

View file

@ -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
View 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 }}"