Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Feb 1, 2024
1 parent 63f9b2b commit ddda967
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bump.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: Bump
name: Bump Version

on:
workflow_call:
workflow_dispatch:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: CI

on:
push:
pull_request:
types:
- closed

jobs:
tests:
Expand All @@ -12,6 +15,5 @@ jobs:
bump:
name: Bump
needs: tests
if: ${{ (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || github.event_name
== 'workflow_dispatch' }}
if: github.event.pull_request.merged == true
uses: ./.github/workflows/bump.yaml
7 changes: 4 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: Tests
name: Run Tests

on:
workflow_call:
workflow_dispatch:
workflow_call:
workflow_dispatch:

jobs:
black:
Expand Down

0 comments on commit ddda967

Please sign in to comment.