diff options
| author | seth <[email protected]> | 2023-07-22 01:48:53 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-07-22 01:48:53 -0400 |
| commit | e421d26b3c02e7f948d1ccbffdc35cc214805aea (patch) | |
| tree | 614184279c4b64a954f06f48543670c33121b479 | |
| parent | 8ceeaee4e597bc2d9f290a6f4abfedfe09576a8a (diff) | |
actions: auto-merge input updates
| -rw-r--r-- | .github/workflows/update-inputs.yaml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml index efea6c4..c598edf 100644 --- a/.github/workflows/update-inputs.yaml +++ b/.github/workflows/update-inputs.yaml @@ -18,15 +18,20 @@ jobs: - name: checkout repo uses: actions/checkout@v3 - - name: install nix - uses: cachix/install-nix-action@v22 + - uses: cachix/install-nix-action@v22 with: - github_access_token: ${{ secrets.GITHUB_TOKEN }} + github_access_token: ${{ github.token }} - - name: update all inputs - uses: DeterminateSystems/update-flake-lock@v19 + - uses: DeterminateSystems/update-flake-lock@v19 + id: update with: commit-msg: "flake: update inputs" pr-title: "flake: update all inputs" nix-options: "--accept-flake-config" token: ${{ secrets.FLAKE_UPDATE }} + + - name: auto-merge pull request + run: gh pr merge --auto --rebase "$PR_ID" + env: + GITHUB_TOKEN: ${{ github.token }} + PR_ID: ${{ steps.update.outputs.pull-request-number }} |
