We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f3b089 commit 4ce91c7Copy full SHA for 4ce91c7
.github/workflows/update.yml
@@ -0,0 +1,26 @@
1
+name: Update
2
+
3
+on:
4
+ workflow_dispatch:
5
+ schedule:
6
+ # “At 00:00 on Sunday.” https://crontab.guru/#0_0_*_*_0
7
+ - cron: "0 0 * * 0"
8
9
+jobs:
10
+ update:
11
+ if: github.event_name != 'schedule' || github.repository == 'sindresorhus/globals'
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ check-latest: true
18
+ node-version: latest
19
+ - run: npm install
20
+ - run: npm run update
21
+ - uses: peter-evans/create-pull-request@v6
22
23
+ commit-message: Update
24
+ branch: automated-update
25
+ branch-suffix: timestamp
26
+ title: Update
0 commit comments