mirror of
https://github.com/the-programmers-hangout/swiftspiracy-bot.git
synced 2026-09-08 07:56:24 +02:00
added github actions
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
name: update-flake-lock
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00
|
||||
|
||||
jobs:
|
||||
update-flake-lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: "Checking out repository..."
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Installing and configuring the nix package manager..."
|
||||
uses: DeterminateSystems/nix-installer-action@main
|
||||
with:
|
||||
extra-conf: |
|
||||
accept-flake-config = true
|
||||
|
||||
- name: "Updating flake.lock..."
|
||||
uses: DeterminateSystems/update-flake-lock@main
|
||||
with:
|
||||
pr-title: "Automated action - Update flake.lock"
|
||||
pr-labels: |
|
||||
dependencies
|
||||
automated
|
||||
|
||||
# NOTE You can use a PAT to identify as a user, for CI purposes
|
||||
# token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||
Reference in New Issue
Block a user