Skip to content

Commit 30c5fe1

Browse files
authored
ci: update dependencies via cron (#8)
1 parent 10f92aa commit 30c5fe1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/deps.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Dependencies
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
update:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
ref: ${{ github.head_ref }}
15+
token: ${{ secrets.GH_TOKEN }}
16+
17+
- name: Update dependencies
18+
run: npx @faustbrian/node-composer-check-updates --caret
19+
20+
- name: Install dependencies
21+
run: composer install --ignore-platform-reqs
22+
23+
- uses: stefanzweifel/git-auto-commit-action@v4
24+
with:
25+
commit_message: "chore: update dependencies"
26+
branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)