Skip to content

Commit

Permalink
github: compliance: test
Browse files Browse the repository at this point in the history
test test test

Signed-off-by: Fabio Baltieri <[email protected]>
  • Loading branch information
fabiobaltieri committed Oct 27, 2023
1 parent 72f416f commit 78a84d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git remote -v
echo ${{ github.base_ref }}
echo ${{ github.sha }}
echo ${{ github.event.pull_request.base.ref }}
echo ${{ github.event.pull_request.base.sha }}
echo ${{ github.event.pull_request.head.sha }}
echo ${{ github.event.pull_request.commits }}
# Ensure there's no merge commits in the PR
[[ "$(git rev-list --merges --count origin/${BASE_REF}..)" == "0" ]] || \
(echo "::error ::Merge commits not allowed, rebase instead";false)
Expand Down

0 comments on commit 78a84d4

Please sign in to comment.