Drop branch suffix from patch action (#2190)

drop .rej files and don't use a branch suffix
This commit is contained in:
Josh Mock
2024-03-27 13:18:14 -05:00
committed by GitHub
parent d584836399
commit 7f7942e207
2 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,9 @@ $(cat "$f")
"
done
# delete .rej files
rm -fv ./**/*.rej
# send data to output parameters
echo "$comment" > /tmp/pr_body
echo "PR_DRAFT=$has_rejects" >> "$GITHUB_OUTPUT"

View File

@ -46,7 +46,5 @@ jobs:
path: serverless
title: 'Apply patch from elastic/elasticsearch-js#${{ github.event.pull_request.number }}'
commit-message: 'Apply patch from elastic/elasticsearch-js#${{ github.event.pull_request.number }}'
branch-suffix: short-commit-hash
body-path: /tmp/pr_body
draft: '${{ steps.apply-patch.outputs.PR_DRAFT }}'
add-paths: ':!*.rej'