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 55a1d54 commit bc7055fCopy full SHA for bc7055f
.github/workflows/previews-ods-ui.yaml
@@ -21,13 +21,19 @@ jobs:
21
pull-requests: write
22
23
steps:
24
- - name: Checkout
+ - name: Checkout branch
25
+ if: github.event.action != 'closed'
26
uses: actions/checkout@v5
27
# Fetch the full history for the branch to be able to get the short SHA
28
with:
29
ref: ${{ github.head_ref }}
30
fetch-depth: 0
31
32
+ # If the PR is closed, the branch may be deleted already, so we can't checkout the branch
33
+ - name: Checkout
34
+ if: github.event.action == 'closed'
35
+ uses: actions/checkout@v5
36
+
37
- name: Set up kubectl
38
uses: azure/setup-kubectl@v4
39
0 commit comments