Skip to content

Commit

Permalink
Set env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Sep 14, 2023
1 parent 75b3543 commit 3e49e78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/setup-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ runs:
git fetch --depth=1 origin +refs/pull/${{ github.event.issue.number }}/merge:refs/remotes/pull/${{ github.event.issue.number }}/merge || \
git fetch --depth=1 origin +refs/pull/${{ github.event.issue.number }}/head:refs/remotes/pull/${{ github.event.issue.number }}/head
git checkout pull/${{ github.event.issue.number }}/merge || git checkout pull/${{ github.event.issue.number }}/head
# Add pull request head sha to env variable, used for test result publisher
echo "INPUT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
- name: Rerun if comment phrase
if: ${{ github.event.comment.body == inputs.comment_phrase }}
uses: ./.github/actions/rerun-job-action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/beam_PreCommit_Java_HBase_IO_Direct.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
github.event_name == 'schedule' ||
github.event_name == 'workflow_dispatch' ||
github.event.comment.body == 'Run Java_HBase_IO_Direct PreCommit'
runs-on: [self-hosted, ubuntu-20.04, main]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup repository
Expand Down

0 comments on commit 3e49e78

Please sign in to comment.