about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-08-27 20:05:42 -0700
committerFranck Cuny <franck@fcuny.net>2023-08-27 20:05:42 -0700
commit9a2f8d39348191bd3bd2138b2c9ee03896f81475 (patch)
tree005691b2a1a526fdf8cdd38ad57fd72777a1afd4
parentremove custom tools (diff)
downloadworld-9a2f8d39348191bd3bd2138b2c9ee03896f81475.tar.gz
some changes to GitHub action
-rw-r--r--.github/dependabot.yml2
-rw-r--r--.github/workflows/update.yml26
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 }}