Skip to content

Commit

Permalink
explicitly checkout with PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsteccato committed Oct 16, 2023
1 parent 526997f commit c41bb28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.MACHINE_USER_PAT }}

- name: Install jq tool
run: |
Expand Down Expand Up @@ -52,7 +54,8 @@ jobs:
git config user.email "ppoollmachine@gmail.com"
git add package-info.json
git commit -m "Bump version"
git push https://ppooll-machine:${{ secrets.MACHINE_USER_PAT }}@github.com/ppooll-dev/ppooll.git
git remote set-url origin https://machine_user_name:${{ secrets.MACHINE_USER_PAT }}@github.com/ppooll-dev/ppooll.git
git push origin actions-test
- name: Create ZIP Archive
run: |
Expand Down
2 changes: 1 addition & 1 deletion test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Testing GitHub Actions
again again
again againfd

0 comments on commit c41bb28

Please sign in to comment.