`github.event.issue.author_association` returns `CONTRIBUTOR` when `MEMBER` is also true

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github, github-actions, typescript
領域
api, ci-cd

調査の方向性

Start by examining how github.event.issue.author_association is populated for pull request events and how GitHub Actions exposes contributor and member status. Reproduce the case with a member who has merged a pull request, then compare the observed association with the expected member check. Done means a reliable way to identify member-opened pull requests is documented or implemented.

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

説明

Describe the bug
For pull requests opened by a MEMBER, github.event.issue.author_association returns CONTRIBUTOR.

To Reproduce
Steps to reproduce the behavior:

  1. Have a MEMBER of a repo, who has also contributed (merged a PR), open a new PR.

Expected behavior
Have a way to see if the author is a member, which can gate workflows in public repositories to only run when a PR is opened by a MEMBER.

主要言語
TypeScript
スター
5k
フォーク
586
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

actions/github-script のほかの issue

actions/github-script の issue をすべて見る

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

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