fix: cc-resolve push 後に CI を自動トリガー

This commit is contained in:
nrs 2026-03-04 20:07:13 +09:00
parent 4f02c20c1d
commit f733a7ebb1

View File

@ -247,9 +247,19 @@ jobs:
if [ "$AHEAD" -gt 0 ]; then if [ "$AHEAD" -gt 0 ]; then
echo "Pushing $AHEAD commit(s)" echo "Pushing $AHEAD commit(s)"
git push git push
echo "pushed=true" >> "$GITHUB_OUTPUT"
else else
echo "Nothing to push" echo "Nothing to push"
echo "pushed=false" >> "$GITHUB_OUTPUT"
fi fi
id: push
- name: Trigger CI
if: steps.push.outputs.pushed == 'true'
run: |
gh workflow run ci.yml --ref "${{ steps.pr.outputs.branch }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Report result - name: Report result
if: always() if: always()