Skip to content

Commit eff2227

Browse files
authored
docs: added code styles section for GitHub Actions instructions in Copilot file (#6219)
1 parent 0c47298 commit eff2227

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/copilot-instructions.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,3 +285,9 @@ Short description of the fix.
285285
286286
Short description of the breaking change.
287287
```
288+
289+
## General code styles and approaches
290+
291+
### GitHub Actions / Pipelines
292+
293+
- Use `!cancelled()` instead of `always()` for controlling the step execution in GitHub Actions. This ensures that steps are skipped if the workflow run has been cancelled, preventing unnecessary execution and resource usage.

0 commit comments

Comments
 (0)