Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/post-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,13 @@ jobs:
- name: checkout to /mnt/ozone
run: |
sudo chmod 777 /mnt
git clone https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone
git clone 'https://github.com/${{ github.repository }}.git' /mnt/ozone
cd /mnt/ozone
git fetch origin "${GITHUB_REF}"
if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
git fetch --verbose origin '${{ github.ref }}'
else
git fetch --verbose origin '${{ github.sha }}'
fi
git checkout FETCH_HEAD
git reset --hard
- name: run a full build
Expand Down