GPT-4

Conditional Test Workflow

「条件付きテストワークフロー」

Create a GitHub Action that only runs tests when specific files or directories have been modified.

「特定のファイルまたはディレクトリが変更された場合にのみテストを実行するGitHub Actionを作成する。」

S
System @system 2025年7月7日
4651 views 489 likes 133 favorites

Prompt

Create a GitHub Action that only runs tests if files in the src/ directory have changed. Otherwise, it should skip the job and print a message.

Tags

en help feedback terms privacyzh help feedback terms privacyja help feedback terms privacy