mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-30 00:46:44 +00:00
a9df2eea61
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4 to 5. - [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases) - [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4...v5) --- updated-dependencies: - dependency-name: stefanzweifel/git-auto-commit-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
892 B
YAML
42 lines
892 B
YAML
name: Update packages
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *" # daily
|
|
|
|
jobs:
|
|
update:
|
|
if: github.repository == 'notashelf/nyxpkgs'
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
token: "${{ secrets.GH_TOKEN}}"
|
|
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nyx
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
|
|
- name: Update npins
|
|
run: nix run nixpkgs#npins update
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: "[CI]: update npins"
|
|
push_options: "--force"
|
|
commit_user_name: GitHub Actions
|
|
|
|
build:
|
|
needs: update
|
|
uses: ./.github/workflows/build.yml
|
|
secrets: inherit
|