Skip to content

Commit

Permalink
detached head (actions/checkout#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgatto committed Dec 14, 2020
1 parent 0323057 commit fc6806c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@ jobs:
runs-on: ubuntu-latest
container: bioconductor/bioconductor_docker:devel
steps:
- name: Checkout 🛎️
uses: actions/checkout@v1
- name: Checkout PR 🛎️
uses: actions/checkout@v2
if: github.event_name == 'pull_request'
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- name: Checkout push 🛎️
uses: actions/checkout@v2
if: github.event_name == 'push'
with:
fetch-depth: 0
- name: Generate README.md
run: |
PATH=$PATH:$HOME/bin/ Rscript -e 'knitr::knit("README.Rmd")'
Expand Down

0 comments on commit fc6806c

Please sign in to comment.