File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Resolve PR 1109 lockfile
2+
3+ on :
4+ push :
5+ branches :
6+ - fix/cli-typecheck-dependencies
7+
8+ permissions :
9+ contents : write
10+
11+ jobs :
12+ regenerate-lock :
13+ if : github.actor != 'github-actions[bot]'
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - uses : oven-sh/setup-bun@v2
21+ with :
22+ bun-version : 1.3.11
23+
24+ - name : Regenerate bun.lock
25+ run : bun install --lockfile-only --ignore-scripts
26+
27+ - name : Remove temporary workflow and commit lockfile
28+ shell : bash
29+ run : |
30+ rm -f .github/workflows/resolve-1109-lock.yml
31+ git config user.name "github-actions[bot]"
32+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
33+ git add bun.lock .github/workflows/resolve-1109-lock.yml
34+ if git diff --cached --quiet; then
35+ exit 0
36+ fi
37+ git commit -m "chore: regenerate lockfile on latest upstream"
38+ git push origin HEAD:fix/cli-typecheck-dependencies
You can’t perform that action at this time.
0 commit comments