diff options
| author | Franck Cuny <franck@fcuny.net> | 2023-08-27 20:05:42 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2023-08-27 20:05:42 -0700 |
| commit | 9a2f8d39348191bd3bd2138b2c9ee03896f81475 (patch) | |
| tree | 005691b2a1a526fdf8cdd38ad57fd72777a1afd4 /.github/workflows/update.yml | |
| parent | remove custom tools (diff) | |
| download | infra-9a2f8d39348191bd3bd2138b2c9ee03896f81475.tar.gz | |
some changes to GitHub action
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/update.yml | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 3cf3414..da1c9ba 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -21,27 +21,7 @@ jobs: nix flake update nix shell nixpkgs#git -c git commit -am "[Auto] update all inputs" - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 - id: cpr + - name: Commit & Push changes + uses: actions-js/push@v1.4 with: - commit-message: '[Auto] Package updates' - committer: GitHub <noreply@github.com> - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - signoff: false - branch: package-auto-updates - delete-branch: true - title: '[Auto] Package updates' - body: '' - labels: | - automated pr - assignees: fcuny - reviewers: fcuny - - - name: Enable Pull Request Automerge - if: steps.cpr.outputs.pull-request-operation == 'created' - uses: peter-evans/enable-pull-request-automerge@v3 - with: - token: ${{ secrets.MACHINE_USER_TOKEN }} - pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} - merge-method: squash + github_token: ${{ secrets.GITHUB_TOKEN }} |
