mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Getting the branch name associated with the tag?
This commit is contained in:
@@ -54,9 +54,11 @@ jobs:
|
||||
pip install -q -r requirements.txt
|
||||
echo "BRANCH ${{ steps.vars.outputs.branch }}"
|
||||
echo "PR NUMBER ${{ github.event.issue.number }}"
|
||||
SIMPLE_BRANCH=`git branch -a --contains `${{ steps.vars.outputs.branch }}`
|
||||
echo simple_branch $SIMPLE_BRANCH
|
||||
#if [[ ! -z "${{ github.event.issue.pull_request }}" && ! -z "${{ github.event.issue.number }}" ]]; then
|
||||
# python3 main.py -b ${{ steps.vars.outputs.branch }} -pr ${{ github.event.issue.number }}
|
||||
# python3 main.py -b $SIMPLE_BRANCH -pr ${{ github.event.issue.number }}
|
||||
#
|
||||
#else
|
||||
# python3 main.py -b ${{ steps.vars.outputs.branch }}
|
||||
# python3 main.py -b $SIMPLE_BRANCH
|
||||
#fi
|
||||
Reference in New Issue
Block a user