mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
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:
parent
23e8444e34
commit
a66befeb1f
1 changed files with 3 additions and 1 deletions
4
.github/workflows/update-certs.yml
vendored
4
.github/workflows/update-certs.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue