caddy-with-modules/.forgejo/workflows/update-inputs.yml
Adithya Nair fc48a9749d
All checks were successful
Build and Push to Cachix / Push to Binary Cache (aarch64) (push) Successful in 6m4s
Build and Push to Cachix / Push to Binary Cache (X86-64) (push) Successful in 1m34s
Cleanup actions to run on forgejo
2024-10-31 11:24:56 +05:30

30 lines
867 B
YAML

name: Update Inputs
on:
schedule:
- cron: "0 0 * * 5"
workflow_dispatch:
jobs:
update-inputs:
runs-on: docker
container:
image: ghcr.io/catthehacker/ubuntu:act-22.04
name: Update Inputs
steps:
- uses: actions/checkout@v4
with:
token: ${{ github.token }}
ref: ${{ github.head_ref }}
- uses: https://github.com/cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}
- name: Update inputs
run: |
nix flake update --access-tokens "github.com=${{ secrets.GH_PUBLIC_REPO_ACCESS_TOKEN }}"
- name: Commit changes
uses: https://github.com/EndBug/add-and-commit@v9
with:
message: 'Actions: Update Inputs'
add: 'flake.lock'