Update packages #517
This file contains hidden or 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
| name: Update packages | |
| on: | |
| schedule: | |
| - cron: "0 */6 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.PAT }} | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| - name: Configure git | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| - name: Update panel (stable) | |
| run: nix run nixpkgs#nix-update -- panel --flake --subpackage frontend --version-regex 'release-(.*)' --commit | |
| - name: Update panel-nightly | |
| run: nix run nixpkgs#nix-update -- panel-nightly --flake --version=branch=main --subpackage frontend --commit | |
| - name: Update wings (stable) | |
| run: nix run nixpkgs#nix-update -- wings --flake --version-regex 'release-(.*)' --commit | |
| - name: Update wings-nightly | |
| run: nix run nixpkgs#nix-update -- wings-nightly --flake --version=branch=main --commit | |
| - name: Push changes | |
| run: git push |