mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
fixing branch path
This commit is contained in:
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Get branch and PR required for detection testing main.py
|
||||
id: vars
|
||||
run: |
|
||||
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
|
||||
echo ::set-output name=tag::${GITHUB_REF#refs/tags/remotes/origin}
|
||||
|
||||
#Set up credentials in the environment so that boto will be able to find them
|
||||
- uses: aws-actions/configure-aws-credentials@v1
|
||||
@@ -62,8 +62,8 @@ jobs:
|
||||
touch test.file
|
||||
git add test.file
|
||||
git commit --allow-empty -m "Doing a test commit"
|
||||
git push origin HEAD:refs/heads/remote/origin/$THE_BRANCH
|
||||
|
||||
#git push origin HEAD:refs/heads/remote/origin/$THE_BRANCH
|
||||
git push
|
||||
|
||||
#BRANCH_NAME=`git branch -a --contains ${{ steps.vars.outputs.branch }} | head -n1 | cut -d' ' -f2`
|
||||
#git log --pretty=oneline | head -n 1 | tail -n 1 | cut -d' ' -f 1 | tr "*" " " | sed 's/^[[:space:]]*//g'
|
||||
|
||||
Reference in New Issue
Block a user