Skip to content

Commit

Permalink
Use pull_request_target in tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mauvilsa committed Dec 19, 2024
1 parent 51a1b08 commit 2e584d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: tests

on:
push:
branches: [ "main" ]
branches: [main]
tags:
- 'v*'
pull_request:
branches: [ "main" ]
pull_request_target:
branches: [main]

jobs:

Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
VERSION="$(git describe --tags --abbrev=0 | sed 's/^v//')+$(git rev-parse --short HEAD)"
fi
echo "VERSION=$VERSION" >> $GITHUB_ENV
- uses: SonarSource/sonarqube-scan-action@v4.2.1
- uses: SonarSource/sonarqube-scan-action@v4
with:
args: >
-Dsonar.organization=omni-us
Expand Down

0 comments on commit 2e584d9

Please sign in to comment.