From 2f71c5dc4f9e258b14e7300b0b79c0026d17853d Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 1 Dec 2022 12:16:10 +0100 Subject: [PATCH] Add repo info for GH CLI calls (#3907) --- .github/workflows/cypress.yml | 4 ++-- .github/workflows/main.yml | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 19d01a2f05..9427c98392 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -24,7 +24,7 @@ jobs: if: ${{ github.event_name != 'schedule' }} runs-on: ubuntu-latest steps: - - name: Check out Admin UI + - name: Check out repository uses: actions/checkout@v3 with: path: admin-ui-repo @@ -91,7 +91,7 @@ jobs: matrix: container: [1, 2, 3, 4, 5] steps: - - name: Check out Admin UI + - name: Check out repository uses: actions/checkout@v3 - name: Set up Node diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e29355e935..08beccfd64 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: setup: runs-on: ubuntu-latest steps: - - name: Check out Admin UI + - name: Check out repository uses: actions/checkout@v3 - name: Set up Node @@ -88,3 +88,5 @@ jobs: run: gh pr merge --auto --squash env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OWNER: ${{ github.repository_owner }} + REPO: ${{ github.event.repository.name }}