From d5d55864deeee03d959bc75db25a8f25ac7af6cd Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sun, 1 Jan 2023 20:00:39 -0700 Subject: [PATCH] Update action.yml --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 8d3d84ed71a..4758333c6ac 100644 --- a/action.yml +++ b/action.yml @@ -182,11 +182,11 @@ runs: GITHUB_REPOSITORY: ${{ github.repository }} GITHUB_REF: ${{ github.ref }} GITHUB_SHA: ${{ github.sha }} - GITHUB_BASE_REF: ${{ github.event.pull_request.base.ref }} - GITHUB_HEAD_REF: ${{ github.event.pull_request.head.ref }} GITHUB_WORKSPACE: ${{ github.workspace }} GITHUB_EVENT_NUMBER: ${{ github.event.number }} GITHUB_EVENT_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }} + GITHUB_EVENT_PULL_REQUEST_BASE_REF: ${{ github.event.pull_request.base.ref }} + GITHUB_EVENT_PULL_REQUEST_HEAD_REF: ${{ github.event.pull_request.head.ref }} GITHUB_EVENT_PULL_REQUEST_BASE_SHA: ${{ github.event.pull_request.base.sha }} GITHUB_EVENT_PULL_REQUEST_HEAD_SHA: ${{ github.event.pull_request.head.sha }} GITHUB_EVENT_PULL_REQUEST_COMMITS: ${{ github.event.pull_request.commits }} @@ -226,8 +226,8 @@ runs: shell: bash env: GITHUB_WORKSPACE: ${{ github.workspace }} - GITHUB_BASE_REF: ${{ github.event.pull_request.base.ref }} - GITHUB_EVENT_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }} + GITHUB_EVENT_PULL_REQUEST_BASE_REF: ${{ github.event.pull_request.base.ref }} + GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }} # INPUT_ is not available in Composite run steps # https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#example-specifying-inputs INPUT_FILES_PATTERN_FILE: ${{ steps.glob.outputs.paths-output-file }}