Skip to content

Commit

Permalink
Clean up GHA yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
stufield committed Apr 17, 2023
1 parent a512bdc commit 032037c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 16 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches:
- main
- master
pull_request:
branches: [main, master]
branches:
- main
- master

name: R-CMD-check

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/document.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
# heavily modified from: `github.com/r-lib/actions/examples/document.yaml`
on:
push:
branches: [main, master]
paths: ["R/**"]
branches:
- main
paths:
- 'R/**'
pull_request:
branches: [main, master]
paths: ["R/**"]
branches:
- main
paths:
- 'R/**'

name: Document

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
push:
branches: [main, force-pkgdown]
branches:
- main
- force-pkgdown
paths:
- 'man/**'
- 'DESCRIPTION'
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
push:
branches: [main, master]
branches:
- main
paths:
- 'README.Rmd'

Expand All @@ -9,7 +10,7 @@ name: Render README
jobs:
render:
name: Render README
runs-on: macOS-12 # macOS important for syslibs 'curl'
runs-on: macOS-12 # macOS important for sys-lib 'curl'

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/repo-release-sync.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# This is a basic workflow to sync release branch to public repository.
# This is a basic workflow to sync release branch to public repository
# with the new workflows, this GHA is seldom used
# as we do not sync between internal-public repos

name: Public Repo Sync
name: Internal -> Public Sync

# Triggers the workflow on push to the release branch
on:
push:
branches: [ release ]
branches:
- release

# Job run
jobs:
repo-sync:
runs-on: ubuntu-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches:
- main
pull_request:
branches: [main, master]
branches:
- main

name: test-coverage

Expand Down

0 comments on commit 032037c

Please sign in to comment.