Skip to content

Commit ae3fddc

Browse files
committed
.
1 parent 6cf2bb2 commit ae3fddc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout repository
2222
uses: actions/checkout@v4
23+
with:
24+
token: ${{ secrets.BOT_PAT }}
2325
- name: Create test branch
2426
run: |
2527
echo "test $(date)" > test.txt
@@ -28,7 +30,9 @@ jobs:
2830
git add test.txt
2931
git commit -m "Test commit for PAT"
3032
git branch -M test-pat-branch
31-
git push --force "https://${{ secrets.BOT_PAT }}@github.com/${{ github.repository }}" HEAD:test-pat-branch
33+
git push --force -u origin test-pat-branch
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}
3236

3337
- name: Attempt to open PR with PAT
3438
run: |

0 commit comments

Comments
 (0)