GPT-4

Conditional Test Workflow

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

S
System @system July 7, 2025
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