Skip to content
Closed
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
30 changes: 29 additions & 1 deletion .github/workflows/scanner-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,39 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.head_ref }}

- name: Define the matrix for build jobs
id: define-scanner-job-matrix
run: |
echo -e "\nDebug output\n"

echo -e "\n github.event.pull_request.base.sha: ${{ github.event.pull_request.base.sha }}"
echo -e "\n github.event.pull_request.head.sha: ${{ github.event.pull_request.head.sha }}"
echo -e "\n github.event.pull_request.head.ref: ${{ github.event.pull_request.head.ref }}"
echo -e "\n GITHUB_SHA: $GITHUB_SHA"
echo -e "\n GITHUB_REF: $GITHUB_REF"

echo -en "\n git rev-parse HEAD: "
git rev-parse HEAD

echo -e "\n git status:"
git status

echo -e "\n all branches that contain current commit:"
git branch --contains "$(git rev-parse HEAD)"

echo -e "\n log of $GITHUB_SHA:"
git log --max-count=6 "$GITHUB_SHA" || echo "git log failed"

echo -e "\n git show-ref:"
git show-ref || echo "git show-ref failed"

echo -e "\n current log: "
git log --max-count=6 || echo "git log failed"

echo -e "\nEnd of debug output\n"

source './scripts/ci/lib.sh'

# If goarch is updated, be sure to update architectures in "push-scanner-manifests" below.
Expand Down