Document restrictions on start command's first parameter
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- github-actions, typescript
調査の方向性
start入力に関するactionのドキュメントから始め、packages/io/src/io.tsにあるリンク先の@actions/ioソースを調べてください。特に257-260行付近のio.tsのチェックを確認してください。最初のstartパラメーターには相対実行可能ファイルパスを指定できないことをドキュメント化し、issueに示されているシェルベースの回避策を含めてください。
索引モデルが issue の本文から書いたものです。
説明
I just spent hours scratching my head trying to understand why my server would not start and always get the error:
Unable to locate executable file: [...]
The file is actually there and is executable.
- uses: cypress-io/github-action@v2
env:
[...]
DEBUG: '@cypress/github-action'
with:
[...]
path: e2e
start: ../some/executable/script
It turns out io.which from @actions/io, called by this GitHub action, refuses to parse executable paths from relative script files. I assume this is for security reasons (actual source):
if (tool.includes(path.sep)) {
return []
}
I believe the documentation of start should clearly state that scripts cannot be executed like this.
As a workaround, I ran:
- uses: cypress-io/github-action@v2
env:
[...]
DEBUG: '@cypress/github-action'
with:
[...]
path: e2e
start: sh ../some/executable/script
and it works just fine.
- 主要言語
- JavaScript
- スター
- 1.5k
- フォーク
- 356
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cypress-io/github-action のほかの issue
-
Renovate: lock file maintenance fails in Yarn Modern再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug renovate
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
cypress-io/github-action#1910 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
renovate
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
cypress-io/github-action#1911 ·
メンテナーはふだん 1 日以内に返信
-
Yarn v1 Classic unsupported - deprecation is due再び着手できるかも @MikeMcC399 が 127 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
cypress-io/github-action#1819 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Migrate to ESMオープンtype: enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
cypress-io/github-action#1647 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
Cypress.env deprecation / cy.env addition再び着手できるかも @MikeMcC399 が 62 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンtests type: enhancement
cypress-io/github-action#1620 · コメント 8 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
cypress-io/github-action の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microsoft/TypeScript#65370 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
TMHSDigital/Free-Game-Dev-Assets#272 ·
メンテナーはふだん 1 日以内に返信
-
metrics priority: medium
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
LearningCircuit/local-deep-research#8336 ·
メンテナーはふだん 1 日以内に返信
-
ace bug yaml
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
svelte: whitespace-only edit leaves an empty todo, edits not trimmed, filter not restored on reloadオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100