Hi all, Unsure whether to ask this here, in <#C04...
# linting
c
Hi all, Unsure whether to ask this here, in #C043FMKUNLB (😅), or elsewhere. I've developed a pipeline according to the nf-core framework, despite not intending to publish it as an official nf-core pipeline. My problem is with the continuous integration when pushing to Github. I've set up my
test.config
file to run a minimal test on the pipeline itself, and it passes fine. However, all other linting-related tests are failing and I can't figure out how to solve the problem. The job setup seems fine:
Copy code
Current runner version: '2.318.0'
Operating System
  Ubuntu
  22.04.4
  LTS
Runner Image
  Image: ubuntu-22.04
  Version: 20240721.1.0
  Included Software: <https://github.com/actions/runner-images/blob/ubuntu22/20240721.1/images/ubuntu/Ubuntu2204-Readme.md>
  Image Release: <https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240721.1>
Runner Image Provisioner
  2.0.374.1
GITHUB_TOKEN Permissions
  Contents: read
  Metadata: read
  Packages: read
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe' (SHA:09f2f74827fd3a8607589e5ad7f9398816f540fe)
Download action repository 'marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31' (SHA:331f8f5b4215f0445d3c07b4967662a32a2d3e31)
Complete job name: test
The next stage is when it fails:
Copy code
Run dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
  with:
    GITHUB_TOKEN: ***
    workflow: linting.yml
    workflow_conclusion: completed
    workflow_search: false
    repo: charlesfoster/h2seq
    name_is_regexp: false
    path: ./
    allow_forks: true
    check_artifacts: false
    search_artifacts: false
    skip_unpack: false
    if_no_artifact_found: fail
==> Repository: charlesfoster/h2seq
==> Artifact name: 
==> Local path: ./
==> Workflow name: linting.yml
==> Workflow conclusion: completed
==> Allow forks: true
Error: Resource not accessible by integration - <https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow>
Any clue on the issue here? Could it possibly be because my Github repo is (currently) private? When I run the
linting.yml
code directly on the local repo through
nf-core -l lint_log.txt lint --dir ${PWD} --markdown lint_results.md
, the resulting
lint_results.md
has 165 tests passing, 20 tests ignored, 21 tests with warnings, and none failed. Thanks!