mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 20:57:54 +00:00
ci: add commit id to title
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
d1a222ea87
commit
e03363df3d
4
.github/bump_deps.sh
vendored
4
.github/bump_deps.sh
vendored
@ -19,4 +19,6 @@ if [ -z "$CURRENT_COMMIT" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Updated $VAR from $CURRENT_COMMIT to ${LAST_COMMIT}." > "${VAR}_message.txt"
|
echo "Updated $VAR from $CURRENT_COMMIT to ${LAST_COMMIT}." > "${VAR}_message.txt"
|
||||||
echo "https://github.com/$REPO/compare/${CURRENT_COMMIT}..${LAST_COMMIT}" >> "${VAR}_message.txt"
|
echo "" >> "${VAR}_message.txt"
|
||||||
|
echo "Diff URL: https://github.com/$REPO/compare/${CURRENT_COMMIT}..${LAST_COMMIT}" >> "${VAR}_message.txt"
|
||||||
|
echo "${LAST_COMMIT}" >> "${VAR}_commit.txt"
|
11
.github/workflows/bump_deps.yaml
vendored
11
.github/workflows/bump_deps.yaml
vendored
@ -48,16 +48,21 @@ jobs:
|
|||||||
cat "${{ matrix.variable }}_message.txt"
|
cat "${{ matrix.variable }}_message.txt"
|
||||||
echo EOF
|
echo EOF
|
||||||
} >> "$GITHUB_OUTPUT"
|
} >> "$GITHUB_OUTPUT"
|
||||||
rm -rfv ${{ matrix.variable }}_message.txt
|
{
|
||||||
|
echo 'commit<<EOF'
|
||||||
|
cat "${{ matrix.variable }}_commit.txt"
|
||||||
|
echo EOF
|
||||||
|
} >> "$GITHUB_OUTPUT"
|
||||||
|
rm -rfv ${{ matrix.variable }}_commit.txt
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v6
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.UPDATE_BOT_TOKEN }}
|
token: ${{ secrets.UPDATE_BOT_TOKEN }}
|
||||||
push-to-fork: ci-forks/LocalAI
|
push-to-fork: ci-forks/LocalAI
|
||||||
commit-message: ':arrow_up: Update ${{ matrix.repository }}'
|
commit-message: ':arrow_up: Update ${{ matrix.repository }}'
|
||||||
title: 'chore: :arrow_up: Update ${{ matrix.repository }}'
|
title: 'chore: :arrow_up: Update ${{ matrix.repository }} to ${{ steps.bump.outputs.commit }}'
|
||||||
branch: "update/${{ matrix.variable }}"
|
branch: "update/${{ matrix.variable }}"
|
||||||
body: ${{ steps.bump.outputs.message }}
|
body: ${{ steps.bump.outputs.message }}
|
||||||
signoff: true
|
signoff: true
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user