From 9a2f8d39348191bd3bd2138b2c9ee03896f81475 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 27 Aug 2023 20:05:42 -0700 Subject: some changes to GitHub action --- .github/dependabot.yml | 2 +- .github/workflows/update.yml | 26 +++----------------------- 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1230149..5ace460 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,4 +3,4 @@ updates: - package-ecosystem: "github-actions" directory: "/" schedule: - interval: "daily" + interval: "weekly" 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 - 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 }} -- cgit 1.4.1