Skip to content

Commit

Permalink
Updated actions for PR and push
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm00thix committed Jun 20, 2024
1 parent 63b68f7 commit 0948159
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/workflows/package_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
build_package:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/pull_request_package_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Pull Request Python Package

on:
workflow_run:
workflows: ["Pull Request Tests"]
types:
- completed
pull_request:
branches: [ "main" ]
paths:
- 'ikpls/**'
- 'tests/**'
- '.github/**'
- 'pyproject.toml'

jobs:
build_package:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build

0 comments on commit 0948159

Please sign in to comment.