Skip to content

Commit

Permalink
added automated pr workflow fix v2
Browse files Browse the repository at this point in the history
  • Loading branch information
swazau committed Jun 25, 2024
1 parent ea4d8a1 commit 1bc1edf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/build-arm64-magisk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,20 @@ jobs:
- name: Checkout gocryptfs-magisk repository
uses: actions/checkout@v3
with:
repository: swazau/gocryptfs-magisk
path: gocryptfs-magisk
token: ${{ secrets.PAT_TOKEN }}

- name: Copy binary to Magisk module folder
run: |
mkdir -p gocryptfs-magisk/system/bin
cp gocryptfs gocryptfs-magisk/system/bin/
- name: Commit changes
run: |
cd gocryptfs-magisk
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add system/bin/gocryptfs
git commit -m "Update gocryptfs binary"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.ACTIONS_SECRET }}
path: gocryptfs-magisk
branch: update-gocryptfs-binary
title: Update gocryptfs binary
body: |
Expand Down

0 comments on commit 1bc1edf

Please sign in to comment.