Skip to content

Commit

Permalink
👷 Limit Github Actions to run only when necessary
Browse files Browse the repository at this point in the history
PR #292
  • Loading branch information
jambonrose authored Aug 5, 2024
1 parent 2cd50c7 commit 53c8d41
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/define-labels.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: Define Github labels
on:
push:
branches:
- development
branches: ["development"]
paths:
- .github/workflows/define-labels.yml
- .github/labels.yml

jobs:
define:
runs-on: ubuntu-22.04
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/run-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ on:
branches: [development]
pull_request:
branches: [development]
paths:
- .github/**
- src/**
- tests/**
- example_extension_project/**
- example_integration_project/**
- example_replacement_project/**

env:
PYTHONDONTWRITEBYTECODE: 1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [development]
pull_request:
branches: [development]
paths: [".github/**", "src/**", "tests/**"]


env:
PYTHONDONTWRITEBYTECODE: 1
Expand Down

0 comments on commit 53c8d41

Please sign in to comment.