From 0a8d38170a7eaec490df6fdcca83d151ba94df93 Mon Sep 17 00:00:00 2001 From: RecursiveZero Date: Wed, 18 Feb 2026 21:52:16 +0530 Subject: [PATCH 1/3] update composite action --- .github/workflows/format-issue-title.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format-issue-title.yml b/.github/workflows/format-issue-title.yml index e1fb2c6..603ef00 100644 --- a/.github/workflows/format-issue-title.yml +++ b/.github/workflows/format-issue-title.yml @@ -1,4 +1,4 @@ -name: "Auto Format Issue Title" +name: "Format Issue Title" on: issues: @@ -11,7 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Format issue title - uses: recursivezero/template/.github/actions/format-issue-title@v2.6 + uses: recursivezero/action-club/.github/actions/format-issue-title@v0.2.57 with: prefix: RTY - dry_run: false From a220cadf31a97ae6d599e7723e9b0c87a0ea0dca Mon Sep 17 00:00:00 2001 From: RecursiveZero Date: Wed, 18 Feb 2026 21:57:42 +0530 Subject: [PATCH 2/3] comment-on-issue workflow from action-club --- .github/actions/comment-on-issue/action.yml | 20 -------------------- .github/workflows/comment-on-issue.yml | 21 +++++++++------------ 2 files changed, 9 insertions(+), 32 deletions(-) delete mode 100644 .github/actions/comment-on-issue/action.yml diff --git a/.github/actions/comment-on-issue/action.yml b/.github/actions/comment-on-issue/action.yml deleted file mode 100644 index a594127..0000000 --- a/.github/actions/comment-on-issue/action.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Comment on Issue" -description: "Posts a comment on a given issue" - -inputs: - issue_number: - description: "The issue number to comment on" - required: true - -runs: - using: "composite" - steps: - - uses: actions/github-script@v8 - with: - script: | - const issue_number = parseInt('${{ inputs.issue_number }}', 10); - await github.issues.createComment({ - ...context.repo, - issue_number, - body: "👋 Thank you for opening this issue! We will look into it as soon as possible." - }); diff --git a/.github/workflows/comment-on-issue.yml b/.github/workflows/comment-on-issue.yml index 9c52701..a4a2aa3 100644 --- a/.github/workflows/comment-on-issue.yml +++ b/.github/workflows/comment-on-issue.yml @@ -10,6 +10,10 @@ on: description: "Issue number" required: true type: number + comment_body: + description: "Comment text" + required: true + type: string permissions: issues: write @@ -20,16 +24,9 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/github-script@v8 + - name: Run Comment Action + uses: recursivezero/action-club/.github/actions/comment-on-issue@v0.2.57 with: - script: | - // For workflow_dispatch, use the input; for issue events, use context.issue.number - const issue_number = context.payload.inputs?.issue_number - ? parseInt(context.payload.inputs.issue_number, 10) - : context.issue.number; - - await github.rest.issues.createComment({ - ...context.repo, - issue_number, - body: "👋 Thank you for opening this issue! We will look into it as soon as possible." - }); + issue_number: ${{ github.event.inputs.issue_number }} + comment_body: ${{ github.event.inputs.comment_body }} + github_token: ${{ secrets.GITHUB_TOKEN }} From d17e0c6dfc73f8abf09d3b9e6f55b3d9c2fbcb19 Mon Sep 17 00:00:00 2001 From: RecursiveZero Date: Wed, 18 Feb 2026 22:00:04 +0530 Subject: [PATCH 3/3] ref change --- .github/workflows/comment-on-issue.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/comment-on-issue.yml b/.github/workflows/comment-on-issue.yml index a4a2aa3..b54b4c5 100644 --- a/.github/workflows/comment-on-issue.yml +++ b/.github/workflows/comment-on-issue.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - name: Run Comment Action - uses: recursivezero/action-club/.github/actions/comment-on-issue@v0.2.57 + uses: recursivezero/action-club/.github/actions/comment-on-issue@main with: issue_number: ${{ github.event.inputs.issue_number }} comment_body: ${{ github.event.inputs.comment_body }}