Fix update certs CI check (#38566)

Fix to only create a PR if there are changes, see
https://github.com/fleetdm/fleet/pull/38563.
This commit is contained in:
Lucas Manuel Rodriguez 2026-01-21 13:08:22 -03:00 committed by GitHub
parent 23e8444e34
commit a66befeb1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,9 @@ jobs:
- name: Add changes file to orbit
run: |
echo "* Updated Orbit CA certs" > orbit/changes/updated-ca-certs
if [[ $(git diff) ]]; then
echo "* Updated Orbit CA certs" > orbit/changes/updated-ca-certs
fi
- name: PR changes
uses: peter-evans/create-pull-request@f22a7da129c901513876a2380e2dae9f8e145330 # v3.12.1