File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ jobs:
133133 set -euo pipefail
134134 cp intentproof-spec/conformance-certificate.json conformance-certificate.json
135135 cp intentproof-spec/conformance-report.json conformance-report.json
136- if git diff --quiet -- conformance-certificate.json conformance-report.json; then
136+ git add conformance-certificate.json conformance-report.json
137+ if git diff --cached --quiet -- conformance-certificate.json conformance-report.json; then
137138 echo "No conformance artifact updates to commit."
138139 exit 0
139140 fi
140141 git config user.name "intentproof-cert-bot[bot]"
141142 git config user.email "intentproof-cert-bot[bot]@users.noreply.github.com"
142143 git config --local --unset-all http.https://github.com/.extraheader || true
143144 git remote set-url origin "https://x-access-token:${INTENTPROOF_CERT_BOT_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
144- git add conformance-certificate.json conformance-report.json
145- git commit -m "chore(ci): update conformance certificate and report"
145+ git commit -m "chore(ci): update conformance certificate and report" -- conformance-certificate.json conformance-report.json
146146 git push
You can’t perform that action at this time.
0 commit comments