Properly check out the repo when running the packaging workflow on push. (#12203)
Austin S. Hemmelgarn committed
Feb 21, 2022 at 13:17 UTC
d0b1aa12bc48ce68eb9e4f288f750800c723e3ff
1 file changed
+2
-2
.github/workflows/packaging.yml
+2
-2
@@ -91,8 +91,8 @@ jobs:
91
fail-fast: false
92
max-parallel: 8
93
steps:
94
- - name: Checkout PR # Checkout the PR if it's a PR.
95
- if: github.event_name == 'pull_request'
94
+ - name: Checkout # Checkout the repo if it’s not a tag.
95
+ if: github.event_name != 'workflow_dispatch'
96
uses: actions/checkout@v2
97
with:
98
fetch-depth: 0 # We need full history for versioning