nix flake ci working #3
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
name: "Kairos Update" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "22 9 * * 0" | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/kairos-update.yaml" | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: test flake ci | |
run: nix develop --command task kubernetes:ci-kairos-update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: Update kairos version | |
title: 'Update kairos version' | |
draft: false | |
branch: chore/update-kairos | |
delete-branch: true | |
body: | | |
Update kairos version | |
- [openSUSE][os] | |
- [Kairos][kairos] | |
- [k3s][k3s] | |
Auto-generated by [create-pull-request][cpr] | |
[cpr]: https://github.com/peter-evans/create-pull-request | |
[os]: ${{ steps.update.outputs.opensuse_url }} | |
[kairos]: ${{ steps.update.outputs.kairos_url }} | |
[k3s]: ${{ steps.update.outputs.k3s_url }} |