-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,16 @@ jobs: | |
git fetch origin ${{ github.event.pull_request.head.ref }}:${{ github.event.pull_request.head.ref }} | ||
git checkout ${{ github.event.pull_request.head.ref }} | ||
- name: Skip if current commit is from the indexer | ||
# set -x flag in bash to print the commands being run | ||
|
||
run: | | ||
git log -1 --pretty=format:%ae ${{ github.event.after }} | grep -q "[email protected]" | ||
if [ $? -eq 0 ]; then | ||
echo "Last commit was from the indexer, skipping" | ||
exit 78 | ||
fi | ||
exit 0 | ||
echo $? | ||
# if [ $? -eq 0 ]; then | ||
# echo "Last commit was from the indexer, skipping" | ||
# exit 78 | ||
# fi | ||
# exit 0 | ||
- name: Get apt dependencies | ||
uses: awalsh128/cache-apt-pkgs-action@latest | ||
with: | ||
|