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

Github Actions uses fixed job names for branch protection rules #3677

Merged
merged 15 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion .github/workflows/code-linting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code Linting
name: code-linting
on:
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
push:
branches: [master]
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: Fix linting from a comment
name: fix-linting
run-name: fix linting (automated)
on:
issue_comment:
types: [created]

jobs:
deploy:
fix_linting:
# Only run if comment is on a PR with the main repo, and if it contains the magic keywords
if: >
contains(github.event.comment.html_url, '/pull/') &&
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/nf-core-linting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: nf-core linting
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
run-name: nf-core linting
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
# This workflow is triggered on pushes and PRs to the repository.
# It runs the `nf-core lint` tests to ensure that the module code meets the nf-core guidelines
on:
Expand All @@ -14,7 +15,7 @@ concurrency:

jobs:
changes:
name: Check for changes
name: check-for-changes
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
outputs:
# Expose matched filters as job 'modules' output variable
Expand All @@ -29,7 +30,7 @@ jobs:

lint:
runs-on: ubuntu-20.04
name: ${{ matrix.tags }}
name: nf-core-lint
needs: changes
if: needs.changes.outputs.modules != '[]'
strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nf-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: nf-test
run-name: nf-test
on:
push:
branches: [master]
Expand All @@ -15,7 +16,7 @@ concurrency:

jobs:
changes:
name: Check for changes
name: check-for-changes
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
outputs:
# Expose matched filters as job 'modules' output variable
Expand All @@ -28,10 +29,9 @@ jobs:
with:
filters: "tests/config/nftest_modules.yml"

test:
nf_test:
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-20.04

name: ${{ matrix.tags }} ${{ matrix.profile }}
name: nf-test
needs: changes
if: needs.changes.outputs.modules != '[]'
strategy:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pytest-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Pytest-workflow
name: pytest-workflow
run-name: pytest-workflow
on:
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
push:
branches: [master]
Expand All @@ -15,7 +16,7 @@ concurrency:

jobs:
changes:
name: Check for changes
name: check-for-changes
runs-on: ubuntu-latest
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
outputs:
# Expose matched filters as job 'modules' output variable
Expand All @@ -28,10 +29,9 @@ jobs:
with:
filters: "tests/config/pytest_modules.yml"

test:
pytest_workflow:
runs-on: ubuntu-20.04
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved

name: ${{ matrix.tags }} ${{ matrix.profile }}
name: pytest-workflow
needs: changes
adamrtalbot marked this conversation as resolved.
Show resolved Hide resolved
if: needs.changes.outputs.modules != '[]'
strategy:
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/haplotypecaller/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process GATK4_HAPLOTYPECALLER {
conda "bioconda::gatk4=4.4.0.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4:4.4.0.0--py36hdfd78af_0':
'biocontainers/gatk4:4.4.0.0--py36hdfd78af_0' }"
'quay.io/biocontainers/gatk4:4.4.0.0--py36hdfd78af_0' }"

input:
tuple val(meta), path(input), path(input_index), path(intervals), path(dragstr_model)
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/samtools/sort/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process SAMTOOLS_SORT {
conda "bioconda::samtools=1.17"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/samtools:1.17--h00cdaf9_0' :
'biocontainers/samtools:1.17--h00cdaf9_0' }"
'quay.io/biocontainers/samtools:1.17--h00cdaf9_0' }"

input:
tuple val(meta), path(bam)
Expand Down
Loading