Skip to content

Commit

Permalink
#156 - make GHA ci_build only run if certain chars exist in the commi…
Browse files Browse the repository at this point in the history
…t message -- this is a test :)
  • Loading branch information
oxy86 committed Nov 26, 2024
1 parent 1a5e8cc commit d938a0a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
name: Build SocNetV (CI) 🚀

Check warning on line 1 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

1:1 [document-start] missing document start "---"
# run-name: ${{ github.actor }} testing latest SocNetV build with
on: [push]

on:

Check warning on line 3 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

3:1 [truthy] truthy value should be one of [false, true]

Check failure on line 3 in .github/workflows/build-ci.yml

View workflow job for this annotation

GitHub Actions / validate-yaml

3:4 [trailing-spaces] trailing spaces
push:
branches:
- master
- develop

env:
EXECUTABLE: "SocNetV"
Expand All @@ -16,7 +19,7 @@ env:


jobs:
build:
ci_build:
strategy:
fail-fast: false
matrix:
Expand All @@ -43,6 +46,7 @@ jobs:
# - os: ubuntu-22.04
# qt-version: '6.5.3'
runs-on: ${{ matrix.os }}
if: contains(github.event.head_commit.message, '[ci]') || contains(github.event.head_commit.message, '[gha]')
steps:
- name: 🤖 Job information
run: |
Expand Down

0 comments on commit d938a0a

Please sign in to comment.