Skip to content

Commit

Permalink
fix: added the contrib folder to be ignored by CI (#92)
Browse files Browse the repository at this point in the history
Signed-off-by: Weike Qu <[email protected]>

*Description of changes:*
- Current CI still runs when files in contrib folder is edited. The CI
should ignore the contrib folder.

- [ ] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Weike Qu <[email protected]>
  • Loading branch information
weikequ authored Dec 6, 2022
1 parent ccbaf9a commit 3415f2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,39 @@ on:
- main
paths:
- '**.md'
- 'contrib/**'
pull_request:
branches:
- main
paths:
- '**.md'
- 'contrib/**'

jobs:
gen-code-no-diff:
runs-on: ubuntu-latest
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
unit-tests:
runs-on: ubuntu-latest
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
go-linter:
runs-on: ubuntu-latest
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
go-mod-tidy-check:
runs-on: ubuntu-latest
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
check-licenses:
runs-on: ubuntu-latest
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
e2e-tests:
strategy:
matrix:
os: [[self-hosted, macos, amd64, 11.7], [self-hosted, macos, amd64, 12.6], [self-hosted, macos, arm64, 11.7], [self-hosted, macos, arm64, 12.6]]
runs-on: ${{ matrix.os }}
steps:
- run: echo "Skipping CI for docs"
- run: echo "Skipping CI for docs & contrib files"
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
- main
paths-ignore:
- '**.md'
- 'contrib/**'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
- 'contrib/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 3415f2a

Please sign in to comment.