Skip to content

Commit

Permalink
update update-tic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pat-s committed Dec 11, 2020
1 parent 981667d commit b0ce324
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/update-tic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 4 * * *"
Expand All @@ -22,7 +23,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@master
with:
persist-credentials: false

Expand All @@ -33,7 +34,7 @@ jobs:

- name: "[Stage] Dependencies"
run: |
sudo apt install libcurl4-openssl-dev libsodium-dev libharfbuzz-dev libfribidi-dev
sudo apt install libcurl4-openssl-dev libsodium-dev libharfbuzz-dev libfribidi-dev libgit2-dev
Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'source')"
Rscript -e "remotes::install_github('ropensci/tic', dependencies = TRUE)"
Expand All @@ -42,7 +43,7 @@ jobs:
Rscript -e "tic::update_yml()"
- name: "[Stage] Create Pull Request"
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@master
with:
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
token: ${{ secrets.TIC_UPDATE }}
Expand Down

0 comments on commit b0ce324

Please sign in to comment.