Skip to content
Open
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
25 changes: 25 additions & 0 deletions .github/workflows/update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Fetch latest Bun release
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *" # every hour
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch latest Bun release
id: fetch-release
run: |
curl -L \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/oven-sh/bun/releases | jq '.[0].tag_name' --raw-output > bumper
- name: Commit results
uses: EndBug/add-and-commit@v9
with:
committer_name: GitHub Actions
committer_email: 41898282+github-actions[bot]@users.noreply.github.com
fetch: false
message: Update to latest Bun release
add: "bumper --force"