We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e50d518 commit a783dccCopy full SHA for a783dcc
.github/workflows/update.yml
@@ -16,12 +16,16 @@ jobs:
16
name: "Update stubs"
17
runs-on: "ubuntu-latest"
18
steps:
19
- - name: "Checkout"
+ - name: "Checkout to commit"
20
+ if: github.event_name != 'pull_request'
21
uses: actions/checkout@v4
22
with:
23
ref: ${{ github.head_ref }}
24
fetch-depth: '0'
25
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
26
+ - name: "Checkout to only read"
27
+ if: github.event_name == 'pull_request'
28
+ uses: actions/checkout@v4
29
- name: "Install PHP"
30
uses: "shivammathur/setup-php@v2"
31
0 commit comments