Skip to content

Commit

Permalink
updates to GitHub actions
Browse files Browse the repository at this point in the history
Remove duplicative r cmd check workflow, refine build triggers.
  • Loading branch information
k-doering-NOAA committed Jul 25, 2023
1 parent b9f6242 commit 8254350
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/call-r-cmd-check-full.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/call-r-cmd-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
# The default build trigger is to run the action on every push and pull request, for any branch
push:
pull_request:
# To run the default repository branch weekly on sunday, uncomment the following 2 lines
#schedule:
#- cron: '0 0 * * 0'
# To run the default repository branch weekly (At 12:23am on Sunday) on sunday, uncomment the following 2 lines
schedule:
- cron: '23 0 * * 0'
jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/r-cmd-check.yml@main
8 changes: 4 additions & 4 deletions .github/workflows/call-update-pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
name: call-update-pkgdown
# on specifies the build triggers. See more info at https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows
on:
# this workflow runs on pushes to main or master or any time a new tag is pushed
# this workflow runs on pushes to main
push:
branches: [main, master]
tags: ['*']
branches: main

jobs:
call-workflow:
uses: nmfs-fish-tools/ghactions4r/.github/workflows/update-pkgdown.yml@main
uses: nmfs-fish-tools/ghactions4r/.github/workflows/update-pkgdown.yml@main

0 comments on commit 8254350

Please sign in to comment.