Skip to content

Commit

Permalink
Merge pull request #21 from CDCgov/issue3
Browse files Browse the repository at this point in the history
.github workflows CI
  • Loading branch information
kyleoconnell authored Jul 10, 2024
2 parents b58117e + 4d6a449 commit 1ae81eb
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 223 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/awsfulltest.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/awstest.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nf-core branch protection
name: CDCgov branch protection
# This workflow is triggered on PRs to master branch on the repository
# It fails when someone tries to make a PR against the nf-core `master` branch instead of `dev`
on:
Expand All @@ -11,9 +11,9 @@ jobs:
steps:
# PRs to the nf-core repo master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
- name: Check PRs
if: github.repository == 'nf-core/mpxvassembly'
if: github.repository == 'CDCgov/polkapox'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/mpxvassembly ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == CDCgov/polkapox ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nf-core CI
name: CDCgov CI
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
on:
push:
Expand All @@ -15,8 +15,8 @@ env:
jobs:
test:
name: Run pipeline with test data
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mpxvassembly') }}"
# Only run on push if this is the dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'CDCgov/polkapox/') }}"
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
55 changes: 0 additions & 55 deletions .github/workflows/fix-linting.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/linting.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/linting_comment.yml

This file was deleted.

0 comments on commit 1ae81eb

Please sign in to comment.