From 34ef9e32c9c4fe925c519d45782aaea5f5b7e63e Mon Sep 17 00:00:00 2001 From: Vivian Date: Mon, 21 Jul 2025 22:28:43 +0200 Subject: [PATCH] remove workflows --- .forgejo/workflows/lint.yml | 22 ------------------ .forgejo/workflows/nix.yml | 22 ------------------ .forgejo/workflows/plex_update.yml | 37 ------------------------------ 3 files changed, 81 deletions(-) delete mode 100644 .forgejo/workflows/lint.yml delete mode 100644 .forgejo/workflows/nix.yml delete mode 100644 .forgejo/workflows/plex_update.yml diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml deleted file mode 100644 index 85b68639..00000000 --- a/.forgejo/workflows/lint.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Lint - -on: [push] - -jobs: - lint: - runs-on: docker - env: - container: - image: ghcr.io/catthehacker/ubuntu:js-20.04 - steps: - - uses: actions/checkout@v3 - - uses: https://github.com/cachix/install-nix-action@v22 - env: - with: - nix_path: nixpkgs=channel:nixos-unstable - - run: | - sed -i '/^access-tokens/ d' /etc/nix/nix.conf - nix profile install 'nixpkgs#deadnix' 'nixpkgs#statix' 'nixpkgs#yamllint' - statix check . - deadnix -f - yamllint . diff --git a/.forgejo/workflows/nix.yml b/.forgejo/workflows/nix.yml deleted file mode 100644 index a67c4890..00000000 --- a/.forgejo/workflows/nix.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Nix - -# on: [push] - -jobs: - lint: - runs-on: docker - env: - container: - image: ghcr.io/catthehacker/ubuntu:js-20.04 - steps: - - uses: actions/checkout@v3 - - name: Check Nix flake inputs - uses: https://github.com/DeterminateSystems/flake-checker-action@v5 - - uses: https://github.com/cachix/install-nix-action@v22 - env: - with: - nix_path: nixpkgs=channel:nixos-unstable - - name: Run `nix flake check` - run: | - sed -i '/^access-tokens/ d' /etc/nix/nix.conf - nix run '.#' -- -V diff --git a/.forgejo/workflows/plex_update.yml b/.forgejo/workflows/plex_update.yml deleted file mode 100644 index edbe071d..00000000 --- a/.forgejo/workflows/plex_update.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Plex Update - -on: - push: - branches: - - main - - ci - schedule: - - cron: '0 0 * * *' - -jobs: - update: - runs-on: docker - container: - image: ghcr.io/catthehacker/ubuntu:js-20.04 - steps: - - uses: actions/checkout@v3 - - uses: https://github.com/cachix/install-nix-action@v22 - with: - nix_path: nixpkgs=channel:nixos-unstable - - env: - VAULT_ADDR: ${{ secrets.VAULT_ADDR }} - VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }} - run: | - git config user.name "Forgejo Actions Bot" - git config user.email "<>" - - # Run Update script - ./pkgs/plex-pass/update.sh - - git add ./pkgs/plex-pass/ - - # Push if changed - if git status ./nixos/pkgs/plex-pass/ | grep -q "to be committed"; then - git commit -m "Update Plex" - git push origin main - fi