Skip to content

Commit

Permalink
fix GH token in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
bschilder committed Oct 2, 2024
1 parent 1e529e0 commit 356667e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rworkflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run_covr: ${{ true }}
run_pkgdown: ${{ true }}
has_runit: ${{ false }}
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run_docker: ${{ true }}
docker_user: bschilder
docker_org: neurogenomicslab
Expand Down
5 changes: 5 additions & 0 deletions R/check_peakfiles.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
check_peakfiles <- function(peakfiles){
if(all(unlist(lapply(peakfiles,length))==0)){
stopper("No peaks found in any of the peakfiles.")
}
}

0 comments on commit 356667e

Please sign in to comment.