diff --git a/.github/workflows/pr_check_webapp_dotnet_windows.yml b/.github/workflows/pr_check_webapp_dotnet_windows.yml index ec465a4bb..5df3165fe 100644 --- a/.github/workflows/pr_check_webapp_dotnet_windows.yml +++ b/.github/workflows/pr_check_webapp_dotnet_windows.yml @@ -7,7 +7,7 @@ on: - releases/* paths-ignore: - '**.md' - pull_request_target: + pull_request: branches: - master - 'releases/*' @@ -63,7 +63,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} path: 'webapps-deploy' - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: Installing dependencies and building latest changes run: | diff --git a/.github/workflows/pr_check_windows_container_pubprofile.yml b/.github/workflows/pr_check_windows_container_pubprofile.yml index 3e1116132..3a8ead332 100644 --- a/.github/workflows/pr_check_windows_container_pubprofile.yml +++ b/.github/workflows/pr_check_windows_container_pubprofile.yml @@ -7,7 +7,7 @@ on: - releases/* paths-ignore: - '**.md' - pull_request_target: + pull_request: branches: - master - 'releases/*' @@ -82,7 +82,7 @@ jobs: with: repository: ${{ github.event.pull_request.head.repo.full_name }} path: 'webapps-deploy' - ref: ${{ github.event.pull_request.head.ref }} + ref: ${{ github.event.pull_request.head.sha }} - name: Installing dependencies and building latest changes in action run: |