-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1.86 KB
/
weekly-update.yml
File metadata and controls
44 lines (40 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: 🔄 Weekly Update
# Delegator: forwards to the canonical weekly-update reusable in
# socket-registry. The reusable does npm bumps, lockstep validation,
# submodule bumps, workflow pin checks, tests, PR creation — every
# fleet repo uses this same thin shell.
#
# To scaffold a new repo from this template:
# 1. Bump the `@<sha> # main` pin below to the current propagation SHA
# (whatever `_local-not-for-reuse-*.yml` in socket-registry pins).
# 2. Adjust `validate-file-patterns` to include any repo-specific
# source globs the /updating skill is allowed to touch. The default
# covers npm manifests + submodules + lockstep.json only; repos that
# want auto-fixes to extend into source code (e.g. `packages/*/src/**`)
# add their own globs.
# 3. Delete these guidance comments.
on:
schedule:
- cron: '0 9 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
weekly-update:
uses: SocketDev/socket-registry/.github/workflows/weekly-update.yml@ba3d42dec13db8da746d695aac12f0d7d47f8719 # main
with:
# Set to 'true' when the repo tracks submodules.
checkout-submodules: 'false'
# Adjust test-setup-script to the repo's build command (e.g.
# 'pnpm run build' for repos with a build step), or leave as
# empty string for test-only projects.
test-setup-script: ''
test-script: 'pnpm test'
# Add repo-specific source globs if /updating should be allowed
# to auto-fix source files. Default covers npm + submodules +
# lockstep manifest only.
validate-file-patterns: 'package.json|*/package.json|pnpm-lock.yaml|*/pnpm-lock.yaml|.npmrc|pnpm-workspace.yaml|.gitmodules|lockstep.json'
secrets:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
BOT_GPG_PRIVATE_KEY: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
SOCKET_API_TOKEN: ${{ secrets.SOCKET_API_TOKEN || secrets.SOCKET_API_KEY }}