-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add auto-update stuff for packages, rename -> supabase-cli-stable
- Loading branch information
1 parent
bc7beec
commit 4112ac5
Showing
4 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: check for package updates | ||
on: { workflow_dispatch, schedule: [cron: '0 0 * * *'] } | ||
jobs: | ||
check-for-pkg-updates: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
attrs: | ||
- attr: fake-gcs-server | ||
cmd: nupdate | ||
- attr: supabase-cli-stable | ||
cmd: nupdate_latest_github -- --owner supabase --repo cli | ||
runs-on: ubuntu-24.04 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: cachix/install-nix-action@v30 | ||
- run: nix run .#${{ matrix.attrs.cmd }} ${{ matrix.attrs.attr }} | ||
- uses: peter-evans/[email protected] | ||
id: pr | ||
with: | ||
delete-branch: true | ||
author: jacobi petrucciani <[email protected]> | ||
title: automatic update (${{ matrix.attr.attr }}) | ||
commit-message: automatic update (${{ matrix.attr.attr }}) | ||
branch: automatic-update-${{ matrix.attr.attr }} | ||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | ||
- run: gh pr merge --auto --squash ${{ steps.pr.outputs.pull-request-url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters