update workflow
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
0b08a8c8f0
commit
a4e1f8e57a
2 changed files with 4 additions and 17 deletions
15
.github/workflows/linked_issues.yaml
vendored
15
.github/workflows/linked_issues.yaml
vendored
|
@ -1,15 +0,0 @@
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
linked_issues:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: A job to say hello
|
|
||||||
steps:
|
|
||||||
- name: Find Linked Issues
|
|
||||||
id: links
|
|
||||||
uses: hossainemruz/linked-issues@main
|
|
||||||
with:
|
|
||||||
pr_url: ${{github.event.pull_request.html_url}}
|
|
||||||
|
|
||||||
- name: Output linked Issue list
|
|
||||||
run: echo "${{ steps.links.outputs.issues }}"
|
|
2
.github/workflows/project-automation-pr.yaml
vendored
2
.github/workflows/project-automation-pr.yaml
vendored
|
@ -171,6 +171,7 @@ jobs:
|
||||||
uses: hossainemruz/linked-issues@main
|
uses: hossainemruz/linked-issues@main
|
||||||
with:
|
with:
|
||||||
pr_url: ${{github.event.pull_request.html_url}}
|
pr_url: ${{github.event.pull_request.html_url}}
|
||||||
|
format: IssueNumber
|
||||||
|
|
||||||
- name: Output linked Issue list
|
- name: Output linked Issue list
|
||||||
run: echo "${{ steps.links.outputs.issues }}"
|
run: echo "${{ steps.links.outputs.issues }}"
|
||||||
|
@ -185,6 +186,7 @@ jobs:
|
||||||
issue(number: $issue_number) {
|
issue(number: $issue_number) {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}' -f owner="hugo-toha" -f name="toha" -f issue_number=459 --jq='.data.repository.issue.id')"
|
}' -f owner="hugo-toha" -f name="toha" -f issue_number=459 --jq='.data.repository.issue.id')"
|
||||||
|
|
||||||
echo 'ISSUE_ID='$item_id >> $GITHUB_ENV
|
echo 'ISSUE_ID='$item_id >> $GITHUB_ENV
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue