diff options
-rw-r--r-- | .github/dependabot.yml | 2 | ||||
-rw-r--r-- | .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 <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 }} |