Skip to content
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
6 changes: 3 additions & 3 deletions .github/workflows/refresh-lockfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
get_python_matrix:
# Determines which Python versions should be included in the matrix used in
# the gen_lockfiles job.
if: "github.repository_owner == 'SciTools'"
if: "github.repository_owner == 'SciTools' || github.event_name == 'workflow_dispatch'"
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.get_py.outputs.matrix }}
Expand All @@ -36,7 +36,7 @@ jobs:
gen_lockfiles:
# This is a matrix job: it splits to create new lockfiles for each
# of the CI test python versions.
if: "github.repository_owner == 'SciTools'"
if: "github.repository_owner == 'SciTools' || github.event_name == 'workflow_dispatch'"
runs-on: ubuntu-latest
needs: get_python_matrix

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
# Once the matrix job has completed all the lock files will have been
# uploaded as artifacts.
# Download the artifacts, add them to the repo, and create a PR.
if: "github.repository_owner == 'SciTools'"
if: "github.repository_owner == 'SciTools' || github.event_name == 'workflow_dispatch'"
runs-on: ubuntu-latest
needs: gen_lockfiles

Expand Down