Skip to content

Error: There was an issue sending this WFS request #399

Error: There was an issue sending this WFS request

Error: There was an issue sending this WFS request #399

Workflow file for this run

on:
issue_comment:
types: [created]
name: Commands
jobs:
document:
if: startsWith(github.event.comment.body, '/document')
name: document
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: Rscript -e 'install.packages(c("remotes", "roxygen2"))' -e 'remotes::install_deps(dependencies = TRUE)'
- name: Document
run: Rscript -e 'roxygen2::roxygenise()'
- name: commit
run: |
if [[ -n "$(git status --porcelain)" ]]; then
git add man/\* NAMESPACE
git add DESCRIPTION
git commit -m 'Document'
fi
- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
precompile:
if: startsWith(github.event.comment.body, '/precompile')
name: precompile
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: r-lib/actions/setup-r@v2
- name: Install XQuartz on macOS
if: runner.os == 'macOS'
run: brew install xquartz
- name: Install dependencies
run: Rscript -e 'install.packages(c("devtools", "tools", "knitr", "purrr", "Cairo"))'
- name: Install pr version of bcdata and pkg dependencies
run: Rscript -e 'devtools::install()'
- name: Precompile vignettes
run: Rscript './vignettes/precompile.R'
- name: commit
run: |
if [[ -n "$(git status --porcelain)" ]]; then
git add \*.R
git add \*.Rmd
git add \*.png
git commit -m 'precompile vignettes'
fi
- uses: r-lib/actions/pr-push@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# A mock job just to ensure we have a successful build status
finish:
runs-on: ubuntu-latest
steps:
- run: true