Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Create an automation GitHub App for actions

オープン
#936 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, github-actions
領域
ci-cd, devops

調査の方向性

adminリポジトリの request-an-access-token.md と、リンクされている GitHub App 認証ドキュメントから始めます。提案されている権限とリポジトリへのアクセス許可プロセスを、release-please のワークフロー例を含めて確認します。組織に制限された GitHub App が指定された権限で存在し、リポジトリへのアクセスに管理者へのリクエストが必要で、登録プロセスが文書化されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

To automate common workflows like release-please and dependency updaters, a personal access token or a github app installation token is required to trigger subsequent GitHub Action workflows.

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs.
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/triggering-a-workflow#triggering-a-workflow-from-a-workflow

However, GitHub does not allow creating PAT via API. This makes it awkward to automate token creation.

I propose creating a GitHub App in the @nodejs organization with the following permissions:

  • contents: write and pull-requests: write (permissions to create tags and pull requests, requested by release-please and for dependency updaters),
  • This GitHub App needs explicit granting to specific repositories, via explicit requests in the admin repo,
  • Only allow this GitHub App to be installed on the @nodejs account.

With this new GitHub app, new github action workflows can follow https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow to automate the token authentication. (example)

Granting the app to a repository still needs registering in this admin repo for awareness.

This is only for common workflows. Requesting permissions for customized workflows that need additional permissions should still follow the steps in https://github.com/nodejs/admin/blob/main/request-an-access-token.md.

主要言語
JavaScript
スター
202
フォーク
183
平均マージ
13日 12時間
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nodejs/admin のほかの issue

nodejs/admin の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。