Skip to content

Commit

Permalink
restore branch criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Oct 3, 2023
1 parent 2e8d17e commit e2d887c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ on:
branches:
- stable
- dev
- fix-docs-publishing
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.sha || github.sha }}
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -54,7 +53,7 @@ jobs:
update_docs:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/stable' || github.ref == 'refs/heads/fix-docs-publishing')
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/stable')
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -81,7 +80,7 @@ jobs:
publish_docs:
needs: update_docs
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/fix-docs-publishing')
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev')
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down

0 comments on commit e2d887c

Please sign in to comment.