[BUG] Fails to upload for contributor PRs only

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

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

評価

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

調査の方向性

Compare the linked failing and successful workflow runs, including the contributor PR run and the v6 example, to identify what differs in token availability. Start by reading the action's token handling and upload entry points; the issue does not name specific files or tests. Done means contributor PR uploads work without breaking the working cases.

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

説明

bug

Describe the bug

In one of my repos in my personal account, I'm seeing that PRs from other contributors are unable to see the token, such that Codecov uploads fail. See

https://github.com/djc/oxish/actions/runs/37328902410/job/111826612457

Here's a PR from me where it worked fine:

https://github.com/djc/oxish/actions/runs/36562111064/job/109385197727?pr=306

Here's a PR from another repo with a similar workflow setup (although it uses v6 of your action rather than v7) where it does work:

https://github.com/djc/bb8/actions/runs/37011480407/job/110852009010?pr=321

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

環境構築

はじめの一歩

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

codecov/codecov-action のほかの issue

codecov/codecov-action の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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