Skip to content

A local-first personal finance app

stop posting welcome checklist on maintainer PRs (#8884)

Matt Fiddaman30054845af80
diff --git a/.github/workflows/fork-pr-welcome.yml b/.github/workflows/fork-pr-welcome.yml
index 603a03b190..4bfbfcf216 100644
--- a/.github/workflows/fork-pr-welcome.yml
+++ b/.github/workflows/fork-pr-welcome.yml
@@ -24,7 +24,11 @@ jobs:
welcome:
name: Post Welcome Message
runs-on: depot-ubuntu-latest
- if: github.event.pull_request.head.repo.full_name != github.repository
+ # Skip PRs from organisation members and repo collaborators (maintainers),
+ # even when opened from a fork.
+ if: >-
+ github.event.pull_request.head.repo.full_name != github.repository &&
+ !contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association)
steps:
- name: Post welcome comment
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
diff --git a/upcoming-release-notes/stop-welcome.md b/upcoming-release-notes/stop-welcome.md
new file mode 100644
index 0000000000..d8a1ae2de9
--- /dev/null
+++ b/upcoming-release-notes/stop-welcome.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [matt-fidd]
+---
+
+Stop posting PR welcome checklist on maintainer PRs