Skip to content

Commit

Permalink
Add test for git-token
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-evans committed Sep 25, 2023
1 parent fde9f6f commit 9a84575
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,27 @@ jobs:
branch: tests/create-update-with-pat


testCreateWithGitPAT:
needs: beforeTest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Download the action artifact
- uses: actions/download-artifact@v3
with:
name: create-pull-request
path: create-pull-request-local
# Test
- name: Create report file
run: date +%s > report.txt
- name: Create Pull Request
uses: ./create-pull-request-local
with:
git-token: ${{ secrets.TEST_CASE_PAT }}
title: testCreateWithGitPAT
branch: tests/create-with-git-pat


testCreateInRemoteRepo:
needs: beforeTest
runs-on: ubuntu-latest
Expand Down Expand Up @@ -1082,6 +1103,7 @@ jobs:
- testAddPaths
- testUpdateDraft
- testUpdateWithPAT
- testCreateWithGitPAT
- testCreateInRemoteRepo
- testCreateInRemotePrivateRepo
- testCreateWithRelativePath
Expand Down

0 comments on commit 9a84575

Please sign in to comment.