about summary refs log tree commit diff
path: root/.github/workflows/update.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update.yml')
-rw-r--r--.github/workflows/update.yml26
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 }}