This repository has been archived by the owner on May 3, 2024. It is now read-only.
update #76
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: "update" | |
on: | |
workflow_dispatch: # allows manual triggering | |
schedule: | |
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00 | |
jobs: | |
update-lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
- uses: cachix/install-nix-action@v26 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
- run: nix flake update | |
- uses: peter-evans/create-pull-request@v6.0.4 | |
with: | |
commit-message: "chore(deps): update flake inputs" | |
title: "chore(deps): update flake inputs" | |
branch: flake-updates | |
delete-branch: true | |
token: ${{ secrets.PR_FIREFLY }} | |
update-actions: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.1 | |
with: | |
# [Required] Access token with `workflow` scope. | |
token: ${{ secrets.WORKFLOW_SECRET }} | |
- name: Run GitHub Actions Version Updater | |
uses: saadmk11/github-actions-version-updater@v0.8.1 | |
with: | |
# [Required] Access token with `workflow` scope. | |
token: ${{ secrets.WORKFLOW_SECRET }} |