-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js で Issue をリポジトリに還元する GitHub Actions を作る #55
Comments
どうやら Node.js で GitHub Actions を動作させるためには |
|
すでに似たようなことをやっている人がいた。 https://ottan.jp/posts/2021/07/940598155/ けど具体的な仕組みが異なるのでこのプロジェクトは続行。 |
別のワークフローを使って、Issue を自動で閉じたときにこっちのワークフローが発火しない問題が発生した。どうやらワークフローによって実行されたアクションをトリガーにして、また別のワークフローを発火させるというような再帰的な発火は GitHub 側で意図的に禁止されているようだ。 しかしワークアラウンドを見つけた。試してみたらうまくいった。 |
ちなみに毎日自動で Issue を閉じたり開いたりするのは cron を使えば良いが、どうやらこのワークフローファイルを作ってからしばらくは実行されないようだ。最初はなぜ実行されなかったのか疑問だった。 |
env:
GITHUB_TOKEN: ${{ github.token }} |
GitHub Actions をマーケットプレイスに投稿しようとしたら名前で引っかかった。同名の GitHub Actions と被っていないことは確認したんだけど、どうやらそれ以外にもユーザ名や組織名とも被ってはいけないらしい。そして調べてみたところ、同名の組織 がすでに存在していた……。 別の名前を考えないといけないな。 |
GitHub issue tracker というのもすでに GitHub Actions として存在する。 ちなみにこれはなんか JSON で保存する感じのものだったので今回のものとは競合しない。 |
Issue Recorder という名前に変更してリリースした。 |
No description provided.
The text was updated successfully, but these errors were encountered: