Skip to content

check for package updates #56

check for package updates

check for package updates #56

Workflow file for this run

name: check for package updates
on: { workflow_dispatch, schedule: [cron: '0 0 * * *'] }
jobs:
update:
strategy:
fail-fast: false
matrix:
attrs:
- attr: fake-gcs-server
cmd: nupdate
- attr: slack-notifier
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: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- 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.attrs.attr }})
commit-message: automatic update (${{ matrix.attrs.attr }})
branch: automatic-update-${{ matrix.attrs.attr }}
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- if: ${{ steps.pr.outputs.pull-request-number }}
run: gh pr merge --auto --squash ${{ steps.pr.outputs.pull-request-url }}