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