ci: limit jobs by using sdl-ci-filter

[sdl-ci-filter msvc-*]
This commit is contained in:
Anonymous Maarten
2024-07-26 18:48:27 +02:00
committed by Anonymous Maarten
parent eae6758abe
commit 12eb1f1497
2 changed files with 34 additions and 2 deletions

View File

@@ -23,10 +23,18 @@ jobs:
- name: 'Create plan'
id: plan
run: |
# Adding [sdl-ci-filter GLOB] to the commit message will limit the jobs
# e.g. [sdl-ci-filter msvc-*]
EOF=$(openssl rand -hex 32)
cat >/tmp/commit_message.txt <<$EOF
${{ github.event.head_commit.message }}
$EOF
python .github/workflows/create-test-plan.py \
--github-variable-prefix platforms \
--github-ci \
--verbose
--verbose \
--commit-message-file /tmp/commit_message.txt
level1:
needs: [controller]
uses: './.github/workflows/generic.yml'