Skip to content

Commit 011f388

Browse files
authored
chore: rename missing linked issue files and enhance LinkBot with clickable links (#1285)
Signed-off-by: Danish Ali <[email protected]>
1 parent d3c5a33 commit 011f388

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/scripts/pr_missing_linked_issue.js renamed to .github/scripts/bot-pr-missing-linked-issue.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ module.exports = async ({ github, context }) => {
3232
`- Fixes #123`,
3333
``,
3434
`📖 Guide:`,
35-
`docs/sdk_developers/training/workflow/how_to_link_issues.md`,
35+
`[docs/sdk_developers/training/workflow/how_to_link_issues.md](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/docs/sdk_developers/training/workflow/how_to_link_issues.md)`,
3636
``,
3737
`If no issue exists yet, please create one:`,
38-
`docs/sdk_developers/creating_issues.md`,
38+
`[docs/sdk_developers/creating_issues.md](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/docs/sdk_developers/creating_issues.md)`,
3939
``,
4040
`Thanks!`
4141
].join('\n')

.github/workflows/pr-missing-linked-issue.yml renamed to .github/workflows/bot-pr-missing-linked-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
concurrency:
16-
group: pr-missing-linked-issue-${{ github.event.pull_request.number }}
16+
group: bot-pr-missing-linked-issue-${{ github.event.pull_request.number }}
1717
cancel-in-progress: true
1818

1919
steps:
@@ -31,5 +31,5 @@ jobs:
3131
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
3232
with:
3333
script: |
34-
const script = require('./.github/scripts/pr_missing_linked_issue.js');
34+
const script = require('./.github/scripts/bot-pr-missing-linked-issue.js');
3535
await script({ github, context });

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
118118
- Enhance unit and integration test review instructions for clarity and coverage `.coderabbit.yaml`.
119119
- Issue reminder bot now explicitly mentions assignees (e.g., `@user`) in comments. ([#1232](https://github.com/hiero-ledger/hiero-sdk-python/issues/1232))
120120
- Updated `transfer_transaction_hbar.py` example to use `Hbar` objects instead of raw integers and added receipt checking with `ResponseCode` validation.([#1249](https://github.com/hiero-ledger/hiero-sdk-python/issues/1249))
121+
- Renamed `pr-missing-linked-issue.yml` and `pr_missing_linked_issue.js` to `bot-pr-missing-linked-issue.yml` and `bot-pr-missing-linked-issue.js` respectively. Enhanced LinkBot PR comment with clickable hyperlinks to documentation for linking issues and creating issues. (#1264)
121122

122123
### Fixed
123124
- Update `bot-workflows.yml` to trigger only on open PRs with failed workflows; ignore closed PRs and branches without open PRs.

0 commit comments

Comments
 (0)