forked from dfinity/motoko
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 1.14 KB
/
niv-updater-rare.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Update niv dependencies (weekly)
on:
# Manual override, one can start the workflow by running:
# curl -H "Accept: application/vnd.github.everest-preview+json" \
# -H "Authorization: token <your-token-here>" \
# --request POST \
# --data '{"event_type": "niv-updater-nudge", "client_payload": {}}' \
# https://api.github.com/repos/dfinity/motoko/dispatches
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#external-events-repository_dispatch
repository_dispatch:
types: niv-updater-nudge
schedule:
# * is a special character in YAML so you have to quote this string
# Run every Monday
- cron: '0 0 * * 1'
jobs:
niv-updater:
name: 'Check for updates'
timeout-minutes: 2 # if this takes more than 2 minutes then something's wrong
runs-on: ubuntu-latest
steps:
- name: niv-updater-action
uses: knl/niv-updater-action@v13
with:
# might be too noisy
whitelist: 'ic-ref,musl-wasi,ic-wasm'
labels: |
automerge-squash
keep_updating: true
env:
GITHUB_TOKEN: ${{ secrets.NIV_UPDATER_TOKEN }}