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

Running GitHub Workflows duplicate events: push and pull_request

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

メンテナーはふだん 1 日以内に返信

@sofisl がすでに取り組んでいます。

2022年11月29日 から。

評価

この issue はまだ評価されていません。

説明

priority: p2 samples type: cleanup

The GitHub Workflow template runs for each set of samples on push and pull_request.

Based on my reading of the syntax documentation, pull_request is necessary for forks.

It looks like folks contributing from a branch in the repository would trigger duplicate tests. Looking at some data, I don't see signs of duplicate work but documented points like https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#using-multiple-events indicate that there should be.

Action Items from this issue should be one of:

  • Removing push as an event trigger from each config and the template
  • Adding an in-line comment to each config and the template explaining why we use both

@sofisl could you provide some insight into why we have both triggering events in the config?

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

環境構築

はじめの一歩

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

GoogleCloudPlatform/nodejs-docs-samples のほかの issue

GoogleCloudPlatform/nodejs-docs-samples の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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