From a6a18bd0641709d45be53820eec72ff4a90ab97d Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 28 Jan 2023 11:53:07 +0100 Subject: [PATCH] Remove GitHub-specific files --- .github/dependabot.yml | 9 ------ .github/workflows/cachix.yml | 30 ------------------ .github/workflows/update.yml | 61 ------------------------------------ 3 files changed, 100 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/cachix.yml delete mode 100644 .github/workflows/update.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index b03079a9..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - open-pull-requests-limit: 10 - reviewers: - - chvp diff --git a/.github/workflows/cachix.yml b/.github/workflows/cachix.yml deleted file mode 100644 index e67bc133..00000000 --- a/.github/workflows/cachix.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Cachix - -on: - push: - branches: [ main ] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - host: - - kharbranth - - kholinar - - lasting-integrity - - urithiru - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02 - with: - github_access_token: '${{ secrets.GITHUB_TOKEN }}' - - name: Cachix - uses: cachix/cachix-action@v12 - with: - name: chvp - extraPullNames: "nix-community,accentor" - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - skipPush: true - - run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel - - run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml deleted file mode 100644 index 638216b6..00000000 --- a/.github/workflows/update.yml +++ /dev/null @@ -1,61 +0,0 @@ -name: Update - -on: - schedule: - - cron: '30 */2 * * *' - workflow_dispatch: - -jobs: - flake-update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02 - with: - github_access_token: '${{ secrets.GITHUB_TOKEN }}' - - run: nix flake update - - name: Upload changed flake.lock - uses: actions/upload-artifact@v3 - with: - name: flake.lock - path: flake.lock - build: - runs-on: ubuntu-latest - needs: flake-update - strategy: - matrix: - host: - - kharbranth - - kholinar - - lasting-integrity - - urithiru - steps: - - uses: actions/checkout@v3 - - name: Download changed flake.lock - uses: actions/download-artifact@v3 - with: - name: flake.lock - - uses: cachix/install-nix-action@25d64bbf11b34ad6443b4169002d4a1b163a4b02 - with: - github_access_token: '${{ secrets.GITHUB_TOKEN }}' - - name: Cachix - uses: cachix/cachix-action@v12 - with: - name: chvp - extraPullNames: "nix-community,accentor" - authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - skipPush: true - - run: nix build -L --no-link .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel - - run: nix eval --json ".#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp - commit: - runs-on: ubuntu-latest - needs: build - steps: - - uses: actions/checkout@v3 - - name: Download changed flake.lock - uses: actions/download-artifact@v3 - with: - name: flake.lock - - uses: stefanzweifel/git-auto-commit-action@v4.16.0 - with: - commit_message: "Update dependencies"