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

dev: Update workflow which creates PRs for nextstrain.org to account for Auspice move there #1661

Merged
merged 1 commit into from
Apr 7, 2023
Merged
Show file tree
Hide file tree
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: 5 additions & 1 deletion .github/workflows/make_pr_for_downstream_repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
repository:
required: true
type: string
directory:
required: false
type: string
default: .
jobs:
make-pr-on-downstream-repo:
# I don't see this being used for tags, so ensure it's only run on branches
Expand Down Expand Up @@ -53,7 +57,7 @@ jobs:

- name: Install Auspice from PRs HEAD commit
shell: bash
working-directory: ${{ env.DESTINATION_REPO_DIR }}
working-directory: ${{ env.DESTINATION_REPO_DIR }}/${{ inputs.directory }}
run: |
npm ci
npm install nextstrain/auspice#${{ steps.detect-pr.outputs.auspice-sha }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/make_prs_for_other_repos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
secrets: inherit
with:
repository: nextstrain/nextstrain.org
directory: auspice-client
auspice-us:
if: inputs.auspice-us
uses: ./.github/workflows/make_pr_for_downstream_repo.yaml
Expand Down