diff --git a/.github/workflows/detection-testing.yml b/.github/workflows/detection-testing.yml index 50fee0fb9f..2dc7c54d04 100644 --- a/.github/workflows/detection-testing.yml +++ b/.github/workflows/detection-testing.yml @@ -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 \ No newline at end of file