Skip to content

Commit

Permalink
ci: nix: dont run twice on push / pr
Browse files Browse the repository at this point in the history
Also, no need for the filters on the files: nix cache is already doing that
  • Loading branch information
nim65s committed Jan 28, 2025
1 parent 9072b6d commit 76eaa38
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .github/workflows/nix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,14 @@ name: "NIX"
# This determines when this workflow is run
on:
push:
paths-ignore:
- 'doc/**'
- '.gitlab-ci.yml'
- '.gitignore'
- '.pre-commit-config.yaml'
- '*.md'
- 'LICENSE'
- 'pyproject.toml'
- 'package.xml'
- 'dependencies.rosintall'
branches:
- master
- devel
pull_request:
paths-ignore:
- 'doc/**'
- '.gitlab-ci.yml'
- '.gitignore'
- '.pre-commit-config.yaml'
- '*.md'
- 'LICENSE'
- 'pyproject.toml'
- 'package.xml'
- 'dependencies.rosintall'
branches:
- master
- devel

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down

0 comments on commit 76eaa38

Please sign in to comment.