tangled
alpha
login
or
join now
tylur.dev
/
prototypey
prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1
fork
atom
overview
issues
pulls
pipelines
weekly taze deps update action
Tyler
3 months ago
f8b758ac
df4b8d8e
+48
1 changed file
expand all
collapse all
unified
split
.github
workflows
update-dependencies.yml
+48
.github/workflows/update-dependencies.yml
···
1
1
+
name: Update Dependencies
2
2
+
3
3
+
on:
4
4
+
schedule:
5
5
+
# Run every Monday at 9:00 AM UTC
6
6
+
- cron: '0 9 * * 1'
7
7
+
workflow_dispatch: # Allow manual trigger
8
8
+
9
9
+
jobs:
10
10
+
update_dependencies:
11
11
+
name: Update Dependencies
12
12
+
runs-on: ubuntu-latest
13
13
+
permissions:
14
14
+
contents: write
15
15
+
pull-requests: write
16
16
+
steps:
17
17
+
- uses: actions/checkout@v4
18
18
+
19
19
+
- uses: ./.github/actions/prepare
20
20
+
21
21
+
- name: Install taze
22
22
+
run: pnpm add -g taze
23
23
+
24
24
+
- name: Update dependencies
25
25
+
run: taze -w -r
26
26
+
27
27
+
- name: Create Pull Request
28
28
+
env:
29
29
+
GH_TOKEN: ${{ github.token }}
30
30
+
run: |
31
31
+
BRANCH_NAME="chore/update-deps-$(date +%m-%d)"
32
32
+
git config user.name "github-actions[bot]"
33
33
+
git config user.email "github-actions[bot]@users.noreply.github.com"
34
34
+
git checkout -b "$BRANCH_NAME"
35
35
+
git add .
36
36
+
if git diff --staged --quiet; then
37
37
+
echo "No dependency updates available"
38
38
+
exit 0
39
39
+
fi
40
40
+
git commit -m "chore: update dependencies"
41
41
+
git push origin "$BRANCH_NAME"
42
42
+
gh pr create --title "chore: update dependencies" --body "## Automated dependency updates
43
43
+
44
44
+
This PR was automatically generated by the weekly dependency update workflow.
45
45
+
46
46
+
Updates were performed using \`taze -w -r\` which updates all dependencies to their latest versions.
47
47
+
48
48
+
Please review the changes carefully before merging." --label dependencies