Skip to content

Commit

Permalink
pybamm-team#3480 skip specific missing workflows on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 16, 2023
1 parent 891eab8 commit 87d7e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/periodic_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:

publish-results:
name: Push and publish results
if: github.repository == 'pybamm-team/pybamm'
needs: benchmarks
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
open_failure_issue:
needs: [build_windows_wheels, build_wheels, build_sdist]
name: Open an issue if build fails
if: ${{ always() && contains(needs.*.result, 'failure') }}
if: contains(needs.*.result, 'failure') && github.repository == 'pybamm-team/PyBaMM'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 87d7e40

Please sign in to comment.