Skip to content

Commit fcf6e77

Browse files
ryanbas21claude
andcommitted
chore: add scheduled workflow to update vendored Effect source
Adds a GitHub Actions workflow that runs daily at 4:17 AM UTC and dispatches pullfrog to perform the git subtree pull for repos/effect/. Also supports manual trigger via workflow_dispatch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7303615 commit fcf6e77

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Update vendored Effect source
2+
3+
on:
4+
schedule:
5+
- cron: '17 4 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
update:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
actions: write
13+
steps:
14+
- name: Dispatch pullfrog
15+
uses: actions/github-script@v7
16+
with:
17+
script: |
18+
await github.rest.actions.createWorkflowDispatch({
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
workflow_id: 'pullfrog.yml',
22+
ref: 'main',
23+
inputs: {
24+
prompt: 'Update the vendored Effect repository at repos/effect/ by running: git subtree pull --prefix=repos/effect https://github.com/Effect-TS/effect.git main --squash. If there are no changes upstream, just close without a PR. If the pull succeeds, commit and open a PR with the title "chore: update vendored Effect source". If there are merge conflicts, open an issue describing the conflict instead of a PR.',
25+
name: 'Update vendored Effect source'
26+
}
27+
});

0 commit comments

Comments
 (0)