Skip to content

Commit

Permalink
Merge pull request #841 from tj-actions/chore/rename-env-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Dec 8, 2022
2 parents 00cc8e5 + 4b60d05 commit ef32360
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion action.yml
Expand Up @@ -173,8 +173,9 @@ runs:
GITHUB_BASE_REF: ${{ github.base_ref }}
GITHUB_HEAD_REF: ${{ github.head_ref }}
GITHUB_WORKSPACE: ${{ github.workspace }}
GITHUB_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
GITHUB_EVENT_HEAD_REPO_FORK: ${{ github.event.pull_request.head.repo.fork }}
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_BEFORE: ${{ github.event.before }}
GITHUB_EVENT_FORCED: ${{ github.event.forced }}
GITHUB_REFNAME: ${{ github.ref_name }}
Expand Down
2 changes: 1 addition & 1 deletion diff-sha.sh
Expand Up @@ -13,7 +13,7 @@ if [[ "$GITHUB_REF" == "refs/tags/"* ]]; then
EXTRA_ARGS=""
fi

if [[ "$GITHUB_HEAD_REPO_FORK" == "true" ]]; then
if [[ "$GITHUB_EVENT_HEAD_REPO_FORK" == "true" ]]; then
MERGE_BASE_EXRTRA_ARGS="--fork-point"
fi

Expand Down

0 comments on commit ef32360

Please sign in to comment.