mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
chore: new attempt
This commit is contained in:
parent
334f90670a
commit
8dcb1482bf
6
.github/workflows/ai-flag-cleanup-pr.yml
vendored
6
.github/workflows/ai-flag-cleanup-pr.yml
vendored
@ -147,8 +147,8 @@ jobs:
|
|||||||
APP_ID: ${{ secrets.UNLEASH_BOT_APP_ID }}
|
APP_ID: ${{ secrets.UNLEASH_BOT_APP_ID }}
|
||||||
run: |
|
run: |
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
git config --global user.email "${APP_ID}+unleash-ai-flag-cleanup[bot]@users.noreply.github.com"
|
git config --global user.email "${APP_ID}+unleash-bot[bot]@users.noreply.github.com"
|
||||||
git config --global user.name "unleash-ai-flag-cleanup[bot]"
|
git config --global user.name "unleash-bot[bot]"
|
||||||
|
|
||||||
- name: Install ripgrep
|
- name: Install ripgrep
|
||||||
run: sudo apt-get update && sudo apt-get install -y ripgrep
|
run: sudo apt-get update && sudo apt-get install -y ripgrep
|
||||||
@ -226,7 +226,7 @@ jobs:
|
|||||||
${{ inputs.api_key_env_name }}: ${{ secrets.api_key_env_value }}
|
${{ inputs.api_key_env_name }}: ${{ secrets.api_key_env_value }}
|
||||||
run: |
|
run: |
|
||||||
mapfile -d '' FILES < <(cat "${{ steps.find_files.outputs.file_list }}")
|
mapfile -d '' FILES < <(cat "${{ steps.find_files.outputs.file_list }}")
|
||||||
aider --model "${{ inputs.model }}" --yes "${FILES[@]}" --message-file cleanup_prompt.txt \
|
aider --model "${{ inputs.model }}" --yes "${FILES[@]}" --message-file cleanup_prompt.txt --no-attribute-author --no-attribute-committer \
|
||||||
| tee aider_output.txt
|
| tee aider_output.txt
|
||||||
|
|
||||||
SUMMARY=$(sed -n '/=== AI Flag Cleanup Summary Start ===/,/=== AI Flag Cleanup Summary End ===/{
|
SUMMARY=$(sed -n '/=== AI Flag Cleanup Summary Start ===/,/=== AI Flag Cleanup Summary End ===/{
|
||||||
|
Loading…
Reference in New Issue
Block a user