btrfs-progs: ci: add option to run only codespell workflow

For quick checks before a push of non-code changes we may want to do
only the spellchecking workflow. Any branch pushed matching the prefix
"codespell/" will be picked by this.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2025-02-13 00:00:08 +01:00
parent 02f60e9700
commit 2c6f08001c

View File

@ -1,5 +1,7 @@
# Check for typos on devel and pull rquests
# - codespell configuration is within .codespellrc
# - the workflow can be run separately from other workflows that trigger on
# ci/* branches, use codespell/* as the prefix
name: Codespell
run-name: Codespell
@ -9,12 +11,11 @@ on:
branches:
- devel
- 'ci/**'
- 'CI/**'
- 'codespell/**'
pull_request:
branches:
- devel
- 'ci/**'
- 'CI/**'
permissions:
contents: read