diff options
| author | seth <[email protected]> | 2023-05-29 01:15:01 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-29 01:30:28 -0400 |
| commit | 9c71189567163ef53acfbfd7c39384683a592290 (patch) | |
| tree | 42e749744ae58a167ae11aaffccd5be347d951cb /.github/actions | |
| parent | fea13c023a58315f6d4a3645edf4ead787f8d908 (diff) | |
!back to hercules-ci
hydra is a little annoying to configure, especially with features like
github prs
Diffstat (limited to '.github/actions')
| -rw-r--r-- | .github/actions/flake-update/action.yaml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/actions/flake-update/action.yaml b/.github/actions/flake-update/action.yaml index f26c383..62f3695 100644 --- a/.github/actions/flake-update/action.yaml +++ b/.github/actions/flake-update/action.yaml @@ -22,12 +22,15 @@ runs: github_access_token: ${{ inputs.github-token }} - uses: DeterminateSystems/update-flake-lock@v19 + id: update with: commit-msg: ${{ inputs.commit-msg }} pr-title: ${{ inputs.commit-msg }} - pr-body: | - Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. - - bors r+ nix-options: "--accept-flake-config" token: ${{ inputs.update-token }} + + - name: auto-merge pull request + run: gh pr merge --auto --squash "$PR_ID" + env: + GITHUB_TOKEN: ${{ inputs.update-token }} + PR_ID: ${{ steps.update.outputs.pull-request-number }} |
