Synchronize hyprland upstream (Cron) #8
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: Synchronize hyprland upstream (Cron) | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run this Action every day at 4:00pm UTC | |
- cron: "0 16 * * *" | |
jobs: | |
sync-upstream: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
ref: master | |
# submodules: true | |
token: "${{ secrets.ACCESS_TOKEN }}" | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- uses: DeterminateSystems/flake-checker-action@main | |
- name: update flake upstream input | |
shell: bash | |
run: | | |
nix flake lock --update-input hyprland | |
- uses: EndBug/add-and-commit@main | |
with: | |
add: flake.lock | |
commit: --signoff | |
message: "chore(flake): update flake.lock to sync input.hyprland" |