mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
print branch names
This commit is contained in:
@@ -2,7 +2,7 @@ name: unit-testing
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [opened, reopened]
|
||||
jobs:
|
||||
contentctl-unit-testing:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -33,8 +33,8 @@ jobs:
|
||||
run: |
|
||||
echo "Current Branch (Head Ref): ${{ github.head_ref }}"
|
||||
echo "Target Branch (Base Ref): ${{ github.base_ref }}"
|
||||
# git pull
|
||||
git checkout ${GITHUB_REF#refs/base/}
|
||||
git pull
|
||||
git checkout ${GITHUB_REF#refs/heads/}
|
||||
echo "The target branch for this PR is ${{ github.base_ref }}"
|
||||
# contentctl test --disable-tqdm --post-test-behavior never_pause mode:changes --mode.target-branch ${{ github.base_ref }}
|
||||
mkdir test_results
|
||||
|
||||
Reference in New Issue
Block a user