Skip to content

Commit

Permalink
Merge pull request #133 from SADiLaR/ci/deduplicate-runs
Browse files Browse the repository at this point in the history
chore(ci): don't run push & PR on PR branches
  • Loading branch information
Restioson authored Oct 22, 2024
2 parents df6b43d + 271d4ab commit 023fb81
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
name: Testing Django
on: [ pull_request, push ] # activates the workflow when there is a push or pull request in the repo

# Activates the workflow when there is a push or pull request in the repo
on:
push:
branches:
- main
- develop
pull_request:

jobs:
test_project:
runs-on: ubuntu-latest # operating system your code will run on
Expand Down

0 comments on commit 023fb81

Please sign in to comment.