Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows can't create PR's with workflows running with on: push, try with workflow_dispatch #1329

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/execute-notebooks.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
name: Execute notebooks

# Run on all pushes and pull requests, and on demand
# Run on demand
on:
push:
branches:
- master
paths:
- ".github/workflows/execute-notebooks.yml"
- "examples/**"
workflow_dispatch:

# Limit workflow permissions
Expand All @@ -31,7 +25,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10" # Numba doesn't support Python 3.11 [2023-05]
Expand Down