Skip to content

Commit 71170cb

Browse files
authored
Merge pull request #381 from Azure/vivekjilla_pull_request_event
Moving to pull_request for the action
2 parents e0d17a2 + 81e0440 commit 71170cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pr_check_webapp_dotnet_windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- releases/*
88
paths-ignore:
99
- '**.md'
10-
pull_request_target:
10+
pull_request:
1111
branches:
1212
- master
1313
- 'releases/*'
@@ -63,7 +63,7 @@ jobs:
6363
with:
6464
repository: ${{ github.event.pull_request.head.repo.full_name }}
6565
path: 'webapps-deploy'
66-
ref: ${{ github.event.pull_request.head.ref }}
66+
ref: ${{ github.event.pull_request.head.sha }}
6767

6868
- name: Installing dependencies and building latest changes
6969
run: |

.github/workflows/pr_check_windows_container_pubprofile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- releases/*
88
paths-ignore:
99
- '**.md'
10-
pull_request_target:
10+
pull_request:
1111
branches:
1212
- master
1313
- 'releases/*'
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
repository: ${{ github.event.pull_request.head.repo.full_name }}
8484
path: 'webapps-deploy'
85-
ref: ${{ github.event.pull_request.head.ref }}
85+
ref: ${{ github.event.pull_request.head.sha }}
8686

8787
- name: Installing dependencies and building latest changes in action
8888
run: |

0 commit comments

Comments
 (0)