Skip to content

Commit

Permalink
Merge pull request #513 from plone/dont-run-test-twice
Browse files Browse the repository at this point in the history
Do not run GitHub Actions tests twice.
  • Loading branch information
thet committed Jul 12, 2023
2 parents f27d51b + 440ec94 commit 5039ea2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/plone_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ name: Plone backend tests

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
plone_python:
Expand Down
5 changes: 5 additions & 0 deletions news/0000.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Do not run GitHub Actions tests twice.
Only run GitHub Actions tests when commiting directly against master or main or
opening a pull request agains master or main. This avoids to run the same test
suite for the same environment twice.
[thet]

0 comments on commit 5039ea2

Please sign in to comment.