Skip to content

Commit e31f8c8

Browse files
committed
chore: remove confused reaction from reply-to-feedback workflow
Remove the second confused emoji reaction that was added when reply generation failed. Consistent with the previous commit - failures are already logged in workflow runs.
1 parent 65c77a9 commit e31f8c8

File tree

2 files changed

+6
-31
lines changed

2 files changed

+6
-31
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ jobs:
6464

6565
- name: Configure git
6666
run: |
67-
git config user.name "github-actions[bot]"
68-
git config user.email "github-actions[bot]@users.noreply.github.com"
67+
git config user.name "docker-agent[bot]"
68+
git config user.email "docker-agent[bot]@users.noreply.github.com"
6969
7070
- name: Calculate new version
7171
id: version
@@ -303,8 +303,8 @@ jobs:
303303
echo "Updated reference to ${SHA} # ${VERSION}"
304304
305305
# Commit and push
306-
git config user.name "github-actions[bot]"
307-
git config user.email "github-actions[bot]@users.noreply.github.com"
306+
git config user.name "docker-agent[bot]"
307+
git config user.email "docker-agent[bot]@users.noreply.github.com"
308308
309309
git checkout -B "$BRANCH"
310310
git add "$FILE_PATH"
@@ -427,8 +427,8 @@ jobs:
427427
BRANCH="auto/update-cagent-action"
428428
RELEASE_URL="https://github.com/docker/cagent-action/releases/tag/$VERSION"
429429
430-
git config user.name "github-actions[bot]"
431-
git config user.email "github-actions[bot]@users.noreply.github.com"
430+
git config user.name "docker-agent[bot]"
431+
git config user.email "docker-agent[bot]@users.noreply.github.com"
432432
433433
git checkout -B "$BRANCH"
434434
git add -A

.github/workflows/reply-to-feedback.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -327,28 +327,3 @@ jobs:
327327
github-token: ${{ steps.app-token.outputs.token || github.token }}
328328
skip-auth: "true" # Org membership already verified above
329329

330-
# ----------------------------------------------------------------
331-
# Failure handling
332-
# ----------------------------------------------------------------
333-
- name: React on failure
334-
if: >-
335-
always() &&
336-
steps.meta.outputs.proceed == 'true' &&
337-
steps.auth.outputs.authorized == 'true' &&
338-
(steps.checkout.outcome == 'failure' || steps.thread.outcome == 'failure' || steps.run-reply.outcome == 'failure')
339-
continue-on-error: true
340-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
341-
env:
342-
COMMENT_ID: ${{ steps.meta.outputs.comment_id }}
343-
REPO: ${{ steps.meta.outputs.repo }}
344-
with:
345-
github-token: ${{ steps.app-token.outputs.token || github.token }}
346-
script: |
347-
const [owner, repo] = process.env.REPO.split('/');
348-
await github.rest.reactions.createForPullRequestReviewComment({
349-
owner,
350-
repo,
351-
comment_id: parseInt(process.env.COMMENT_ID, 10),
352-
content: 'confused'
353-
});
354-
console.log('😕 Reply failed — added confused reaction');

0 commit comments

Comments
 (0)