Skip to content

Commit

Permalink
add: lychee action
Browse files Browse the repository at this point in the history
  • Loading branch information
KP64 committed Dec 3, 2024
1 parent 4318c30 commit 532b657
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Links

on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "00 18 * * *"

jobs:
linkChecker:
runs-on: ubuntu-latest
permissions:
issues: write # required for peter-evans/create-issue-from-file
steps:
- uses: actions/checkout@v4

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false

- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
2 changes: 1 addition & 1 deletion desktop/eww/conf/scripts/getvol.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S nix shell nixpkgs#bash nixpkgs#pamixer --command bash

if [ $(pamixer --get-mute) == true ]; then
if [ "$(pamixer --get-mute)" == true ]; then
echo 0
exit
else
Expand Down
2 changes: 1 addition & 1 deletion hosts/rs/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
users.users.${username} = {
hashedPasswordFile = config.sops.secrets.hashed_password.path;
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAgE5a4Wn4S/to9Z3QbQSDMyCOG/NAOWYJDEvAy4OdFf kg@kg"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKVc2eK6Ql+DtJ2D2asHMo8S0HUc8/2ar8wZVkm/ezsn kg@kg"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAD+mYDOwD6lR89dpPCprEDTBIBNKgjzb6sqoGCHOYl7 kg@LapT"
];
extraGroups = [
Expand Down

0 comments on commit 532b657

Please sign in to comment.