Skip to content

Commit a7828d6

Browse files
authored
fix: pull-request number for skipping phpstan (GoogleCloudPlatform#2132)
1 parent fb7a0fa commit a7828d6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ jobs:
2929
- name: Get changed files
3030
id: changedFiles
3131
uses: tj-actions/changed-files@v46
32-
- uses: jwalton/gh-find-current-pr@v1
33-
id: findPr
34-
with:
35-
state: open
3632
- name: Run Script
3733
run: |
3834
composer install -d testing/
3935
git fetch --no-tags --prune --depth=5 origin main
4036
bash testing/run_staticanalysis_check.sh
4137
env:
4238
FILES_CHANGED: ${{ steps.changedFiles.outputs.all_changed_files }}
43-
PULL_REQUEST_NUMBER: ${{ steps.findPr.outputs.pr }}
39+
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)