Skip to content

Commit

Permalink
Bugfix/workflow vulnerability comparison (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinadarbouy authored Jun 8, 2024
1 parent 1a86b96 commit 711e5c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/vulnerability-comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:

jobs:
vulnerability-comparison:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand All @@ -21,7 +22,7 @@ jobs:
ref: ${{ env.SHA }}
- name: Set short SHA
id: vars
run: echo "SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)" >> $GITHUB_ENV
run: echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
Expand Down

0 comments on commit 711e5c9

Please sign in to comment.