Skip to content

Commit

Permalink
ci: Import from actions-sync, check carefully
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Dec 8, 2024
1 parent a13df77 commit 8ec87dd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/fledge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,14 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
gh pr create --base main --head fledge --fill-first
gh workflow run rcc -f ref=$(git rev-parse HEAD)
gh pr merge --squash --auto
set -ex
if [ -n "$(git diff main --numstat)" ]; then
gh pr create --base main --head fledge --fill-first
gh workflow run rcc -f ref=$(git rev-parse HEAD)
gh pr merge --squash --auto
else
echo "No changes."
fi
shell: bash

- name: Check release
Expand Down

0 comments on commit 8ec87dd

Please sign in to comment.