Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/update-effect-vendor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update vendored Effect source

on:
schedule:
- cron: '17 4 * * *'
workflow_dispatch:

jobs:
update:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Dispatch pullfrog
uses: actions/github-script@v7
with:
script: |
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'pullfrog.yml',
ref: 'main',
inputs: {
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.',
name: 'Update vendored Effect source'
}
});
Loading