Skip to content

Commit

Permalink
Explicitely checkout latest commit of current branch (#39)
Browse files Browse the repository at this point in the history
* Update test-coverage.yaml

* Update test-coverage.yaml

* always checkout latest commit on branch

* force ref for all worklows
  • Loading branch information
Felixmil authored Aug 8, 2024
1 parent 901fd91 commit f0be36e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/R-CMD-check-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}

- uses: r-lib/actions/setup-r@v2
with:
Expand Down

0 comments on commit f0be36e

Please sign in to comment.