diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml index 8f0ebbd..61b15b9 100644 --- a/.github/workflows/openapi.yml +++ b/.github/workflows/openapi.yml @@ -4,9 +4,11 @@ on: push: paths: - "openapi.yaml" + - .github/workflows/openapi.yml pull_request: paths: - "openapi.yaml" + - .github/workflows/openapi.yml jobs: lintspec: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 936aed1..983b0d3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -5,10 +5,12 @@ on: paths: - "openapi.yaml" - "python/remotebmi/**" + - .github/workflows/python.yml pull_request: paths: - "openapi.yaml" - "python/remotebmi/**" + - .github/workflows/python.yml jobs: python: diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index f618348..1feb817 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -4,9 +4,11 @@ on: push: paths: - "R/remotebmi/**" + - .github/workflows/r.yml pull_request: paths: - "R/remotebmi/**" + - .github/workflows/r.yml jobs: r: @@ -17,8 +19,9 @@ jobs: with: sparse-checkout: | R/remotebmi - - name: Move R package to root - run: shopt -s dotglob && mv R/remotebmi/* . + path: root + - name: Move R package to cwd + run: shopt -s dotglob && mv root/R/remotebmi/* . - name: Setup R uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-r-dependencies@v2