Skip to content

Commit

Permalink
Added token to checkout step in PR check workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolad committed Feb 8, 2021
1 parent 8d47c10 commit 1940f23
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
# To make sure all history is fetched for jest --changedSince to work as expected
fetch-depth: ${{ ( matrix.task != 'test' && 1 ) || 0 }} # 0 for test, 1 otherwise
token: ${{ secrets.GH_ACTIONS_ACCESS_TOKEN }}

# TODO replace this when setup-node action supports LTS alias
- name: Set up Node
Expand Down Expand Up @@ -42,7 +43,7 @@ jobs:
run: yarn ${{ matrix.task }}:ci ${{ env.CLI_ARGS }}
e2e:
name: E2E Tests
needs: [build]
# needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -72,15 +73,13 @@ jobs:
- name: Setup Playwright
uses: microsoft/playwright-github-action@v1

- name: Create event-espresso-core folder
run: mkdir event-espresso-core

- name: Check out event-espresso-core
uses: actions/checkout@v2
with:
repository: eventespresso/event-espresso-core
path: event-espresso-core
ref: dev
token: ${{ secrets.GH_ACTIONS_ACCESS_TOKEN }}

- name: Running the tests
run: yarn test:e2e
Expand Down

0 comments on commit 1940f23

Please sign in to comment.