Skip to content

Commit

Permalink
fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Oct 4, 2023
1 parent d20c37c commit d60bc33
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/veracode-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: debug me
run: echo "tata"
- name: Double check github event
run: |
CHECK_BRANCH=`echo "${{ github.ref_name }}" | cut -d'/' -f2`
if [[ $CHECK_BRANCH == "merge" ]]; then
echo "[ERROR] - Event : ${{ github.event_name }} on PR branch should not have triggered this action"
exit 1
fi
- name: Compiling Cpp sources
run: |
Expand Down Expand Up @@ -148,7 +153,7 @@ jobs:
- name: Promote latest scan
# Only last develop should be promoted to policy scan
if: github.ref_name == 'disabled_develop' && github.events != "pull-request" # disable promote for now
if: github.ref_name == 'disabled_develop' # disable promote for now
env:
VERACODE_API_ID: "${{ secrets.veracode_api_id }}"
VERACODE_API_SECRET: "${{ secrets.veracode_api_key }}"
Expand Down

0 comments on commit d60bc33

Please sign in to comment.