Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/agents/performance-celebration-article.agent.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Performance celebration article
name: performance-celebration-article
description: Measure and collect .NET performance evidence, then present and celebrate verified wins in threading, scaling, CPU, wall time, throughput, allocation, GC, or memory for F# and .NET developers.
---

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/check_release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
pull-requests: write
env:
GH_TOKEN: ${{ github.token }}
LOCALIZATION_BOT: dotnet-oneloc-localization[bot]
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
PR_BASE_SHA: ${{ github.event.pull_request.base.sha }}
PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -281,7 +282,7 @@ jobs:
exit 0
fi

OPT_OUT_RELEASE_NOTES=$(jq -r 'any(.labels[]; .name == "NO_RELEASE_NOTES")' <<< "$_current_pr")
OPT_OUT_RELEASE_NOTES=$(jq -r --arg bot "$LOCALIZATION_BOT" 'any(.labels[]; .name == "NO_RELEASE_NOTES") or .user.login == $bot' <<< "$_current_pr")
echo "Opt out of release notes: $OPT_OUT_RELEASE_NOTES"
RELEASE_NOTES_REQUIRED=false
if [[ $RELEASE_NOTES_NOT_FOUND != "" && "$OPT_OUT_RELEASE_NOTES" != true ]]; then
Expand All @@ -302,7 +303,7 @@ jobs:
echo ""
echo "## :white_check_mark: Release-note check exempted"
echo ""
echo "The <kbd>NO_RELEASE_NOTES</kbd> label exempts this pull request."
echo "The <kbd>NO_RELEASE_NOTES</kbd> label or localization-bot authorship exempts this pull request."
else
echo "${RELEASE_NOTES_MESSAGE}"
fi
Expand Down Expand Up @@ -352,7 +353,8 @@ jobs:
...context.repo,
pull_number: context.issue.number
});
const exempt = current.labels.some(label => label.name === 'NO_RELEASE_NOTES');
const exempt = current.labels.some(label => label.name === 'NO_RELEASE_NOTES') ||
current.user?.login === process.env.LOCALIZATION_BOT;
if (current.head.sha !== process.env.PR_HEAD_SHA ||
String(exempt) !== process.env.RELEASE_NOTES_EXEMPT) {
core.info('Skipping outdated release-note comment.');
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/regression-pr-shepherd.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions .github/workflows/regression-pr-shepherd.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ tools:
toolsets: [all]
min-integrity: none
bash: true
repo-memory: true
repo-memory:
max-file-count: 200
---

# Regression PR Shepherd
Expand Down Expand Up @@ -163,7 +164,7 @@ Before pushing any fix:

### Step 4 — Update memory

Track which PRs you've processed and the last review comment timestamp you addressed, so the next run only processes new feedback.
Track which PRs you've processed and the last review comment timestamp you addressed, so the next run only processes new feedback. Keep all of it in a single `state.json`; do not create per-run memory files, because a push with too many files fails the run.

## Guidelines

Expand Down
Loading