Skip to content

Commit

Permalink
Merge pull request #251 from jajik/ci-workaround-ignored-paths
Browse files Browse the repository at this point in the history
Ci workaround ignored paths
  • Loading branch information
rhusar authored Jul 10, 2024
2 parents 1895c76 + 2fff3fb commit 94c1953
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions .github/workflows/ci-ignored-workaround.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Skip CI on ignored paths
on:
push:
branches:
- '*'
paths:
- '.gitignore'
- '**.md'
- 'LICENSE'
pull_request:
branches:
- '*'
paths:
- '.gitignore'
- '**.md'
- 'LICENSE'

jobs:
cmake-fedora-latest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler: [ gcc, clang ]
steps:
- name: Skip
run: echo "Skipping the job"

clang-format-style-check:
runs-on: ubuntu-latest
steps:
- name: Skip
run: echo "Skipping the job"

make-fedora-latest:
runs-on: ubuntu-latest
steps:
- name: Skip
run: echo "Skipping the job"

tests:
runs-on: ubuntu-latest
steps:
- name: Skip
run: echo "Skipping the job"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
podman build -f ./podmanfile
clang-format-style-check:
# The ubuntu-latest has an old version of clang-format, let's just use the latest installed via brew.
# The ubuntu-latest has an old version of clang-format, let's use ubuntu-24.04 which is in Beta
runs-on: ubuntu-24.04
steps:
- name: Checkout
Expand Down

0 comments on commit 94c1953

Please sign in to comment.