Skip to content

Commit 077a444

Browse files
committed
ci: add tool update workflow
1 parent d928be1 commit 077a444

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Check updates to tools, file pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "11 21 * * *"
6+
7+
jobs:
8+
update-tools:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
12+
- name: Check for and prepare updates
13+
env:
14+
FORCE_COLOR: true
15+
LEFTHOOK_QUIET: meta,execution
16+
WRUN_VERBOSE: true
17+
run: |
18+
set -euxo pipefail
19+
python3 -m pip install --no-cache-dir wrun-py
20+
npm exec --yes -- lefthook run update-tools
21+
- uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5
22+
with:
23+
token: ${{ secrets.MACHINE_USER_PAT }}
24+
push-to-fork: bot-scop/vault-token-helper-secret-tool
25+
commit-message: "chore: automated tools update"
26+
title: "chore: tooling updates"

0 commit comments

Comments
 (0)