Skip to content

Commit 27dc45e

Browse files
committed
chore(actions): address zizmor security and container pinning findings
1 parent 8f32e2d commit 27dc45e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/owlbot-checks.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,11 @@ jobs:
2929
id: compatibility-checker
3030
continue-on-error: true
3131
# OwlBot PRs which are not labelled feat should not add new files or methods
32+
env:
33+
PR_REF: ${{ github.head_ref || github.ref_name }}
3234
run: |
3335
~/.composer/vendor/bin/roave-backward-compatibility-check \
34-
--from=origin/${{ github.head_ref || github.ref_name }} \
36+
--from=origin/"$PR_REF" \
3537
--to=origin/main
3638
- name: "Print the action item"
3739
run: |

0 commit comments

Comments
 (0)