diff --git a/.github/scripts/pr_missing_linked_issue.js b/.github/scripts/bot-pr-missing-linked-issue.js similarity index 77% rename from .github/scripts/pr_missing_linked_issue.js rename to .github/scripts/bot-pr-missing-linked-issue.js index 06996873c..ec8f9764c 100644 --- a/.github/scripts/pr_missing_linked_issue.js +++ b/.github/scripts/bot-pr-missing-linked-issue.js @@ -32,10 +32,10 @@ module.exports = async ({ github, context }) => { `- Fixes #123`, ``, `📖 Guide:`, - `docs/sdk_developers/training/workflow/how_to_link_issues.md`, + `[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)`, ``, `If no issue exists yet, please create one:`, - `docs/sdk_developers/creating_issues.md`, + `[docs/sdk_developers/creating_issues.md](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/docs/sdk_developers/creating_issues.md)`, ``, `Thanks!` ].join('\n') diff --git a/.github/workflows/pr-missing-linked-issue.yml b/.github/workflows/bot-pr-missing-linked-issue.yml similarity index 83% rename from .github/workflows/pr-missing-linked-issue.yml rename to .github/workflows/bot-pr-missing-linked-issue.yml index 7f7fe2fac..baea7362f 100644 --- a/.github/workflows/pr-missing-linked-issue.yml +++ b/.github/workflows/bot-pr-missing-linked-issue.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest concurrency: - group: pr-missing-linked-issue-${{ github.event.pull_request.number }} + group: bot-pr-missing-linked-issue-${{ github.event.pull_request.number }} cancel-in-progress: true steps: @@ -31,5 +31,5 @@ jobs: uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | - const script = require('./.github/scripts/pr_missing_linked_issue.js'); + const script = require('./.github/scripts/bot-pr-missing-linked-issue.js'); await script({ github, context }); diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e287d684..0f7adef8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,6 +118,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1. - Enhance unit and integration test review instructions for clarity and coverage `.coderabbit.yaml`. - Issue reminder bot now explicitly mentions assignees (e.g., `@user`) in comments. ([#1232](https://github.com/hiero-ledger/hiero-sdk-python/issues/1232)) - 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)) +- 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) ### Fixed - Update `bot-workflows.yml` to trigger only on open PRs with failed workflows; ignore closed PRs and branches without open PRs.