thisisnic commented on code in PR #44818:
URL: https://github.com/apache/arrow/pull/44818#discussion_r2681629916
##########
.github/workflows/issue_bot.yml:
##########
@@ -24,17 +24,34 @@ on:
permissions:
contents: read
- issues: write
jobs:
label_components:
name: Label Components
if: github.event.issue.pull_request == null
runs-on: ubuntu-latest
+ permissions:
+ issues: write
steps:
- - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #
v7.0.1
+ - uses: actions/github-script@v8
with:
script: |
+ const moved_repos = {
+ "Go": "arrow-go",
+ "Java": "arrow-java",
+ "JavaScript": "arrow-js",
+ "Julia": "arrow-julia",
+ "Rust": "arrow-rs",
+ "Swift": "arrow-swift",
+ "C#": "arrow-dotnet",
+ "DataFusion": "datafusion",
+ "nanoarrow": "arrow-nanoarrow",
+ };
+
+ let repo_moved_msg = (component, repo) => `Thanks for your report!
The ${component} implementation has moved to https://github.com/apache/${repo}.
+
+This issue has been closed automatically - please open a new issue there.`;
Review Comment:
```suggestion
let repo_moved_msg = (component, repo) =>
`Thanks for your report! The ${component} implementation has
moved to https://github.com/apache/${repo}.\n\n` +
`This issue has been closed automatically - please open a new
issue there.`;;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]