-
Notifications
You must be signed in to change notification settings - Fork 10
28 lines (28 loc) · 978 Bytes
/
update-package-lock.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
name: Update package-lock.json
on:
schedule:
- cron: "30 12 * * 3" # Wed 8:30AM EDT. 7:30AM EST.
workflow_dispatch: # manual trigger
jobs:
update:
name: Update
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
token: ${{ secrets.PR_GITHUB_TOKEN }}
- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Update package-lock.json
uses: BrightspaceUI/actions/update-package-lock@main
with:
AUTO_MERGE_METHOD: squash
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
SLACK_CHANNEL_FAILURE: '#gaudi-dev-alerts'
SLACK_CHANNEL_STALE_PR: '#gaudi-dev-alerts'
SLACK_TOKEN: ${{ secrets.D2L_SLACK_TOKEN }}