From 44645cb4970a5b521eee6b38a403bd36d7eae907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 22 May 2022 18:26:40 +0200 Subject: [PATCH] add GH_TOKEN_FOR_UPDATES for automerge --- .github/workflows/upgrade-flakes.yml | 2 ++ .mergify.yml | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 .mergify.yml diff --git a/.github/workflows/upgrade-flakes.yml b/.github/workflows/upgrade-flakes.yml index ad4ec5a..75cc578 100644 --- a/.github/workflows/upgrade-flakes.yml +++ b/.github/workflows/upgrade-flakes.yml @@ -18,3 +18,5 @@ jobs: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@v9 + with: + token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} diff --git a/.mergify.yml b/.mergify.yml new file mode 100644 index 0000000..eaacda9 --- /dev/null +++ b/.mergify.yml @@ -0,0 +1,9 @@ +pull_request_rules: + - name: automatic merge on CI success + conditions: + - check-success=tests (ubuntu-latest) + - author=nix-eval-jobs-bot + actions: + merge: + method: merge + delete_head_branch: {}