Skip to content

Commit

Permalink
Specify which PRs to make upon workflow_dispatch
Browse files Browse the repository at this point in the history
Since it is manually triggered now, might as well allow the user to
specify which repos to make PRs in. Default is no selection (opt-in).
  • Loading branch information
victorlin committed Oct 10, 2022
1 parent c6d14b6 commit 2c10f73
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/make_prs_for_other_repos.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
name: "Make PRs for Nextstrain projects which depend on Auspice"
on:
workflow_dispatch:
inputs:
nextstrain-org:
description: 'Make PR on nextstrain.org'
required: true
type: boolean
auspice-us:
description: 'Make PR on auspice.us'
required: true
type: boolean
jobs:
make-pr-on-nextstrain-dot-org:
nextstrain-org:
if: inputs.nextstrain-org
uses: ./.github/workflows/make_pr_for_downstream_repo.yaml
secrets: inherit
with:
repository: nextstrain/nextstrain.org
make-pr-on-auspice-us:
auspice-us:
if: inputs.auspice-us
uses: ./.github/workflows/make_pr_for_downstream_repo.yaml
secrets: inherit
with:
Expand Down

0 comments on commit 2c10f73

Please sign in to comment.