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
12 changes: 12 additions & 0 deletions .github/workflows/celebrate-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Celebrate merge
on:
pull_request_target:
types: [closed]
permissions:
pull-requests: write
jobs:
celebrate:
if: github.event.pull_request.merged && github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
steps:
- uses: YauhenBichel/merge-cheer@714c61072d0b5326deb8f334911d466ee33e2bb3 # v1.9.0
42 changes: 42 additions & 0 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Contributors

# The wall lives in readme-contributors as a reusable workflow and is written
# straight to main after every merge, with no separate pull request.
#
# It used to run on pull requests and push the refreshed wall to the PR
# branch. That loses people: a fork's pull request cannot run it, and a
# same-repository PR lands a wall computed before whatever merged ahead of it.
# MoleCare/molecare-mcp lost a contributor that way, in 44 seconds. A run on
# main after the merge sees every commit.
#
# main is protected, so the wall pushes through the write deploy key stored as
# CONTRIBUTORS_DEPLOY_KEY, the one bypass actor on the ruleset besides the
# owner.
#
# The key is passed by name, not with `secrets: inherit`: inherit only reaches
# a reusable workflow in the same organisation, and the wall lives under
# YauhenBichel, so inherit passed nothing and the push fell back to the
# workflow token, which the protected branch refuses.
#
# pull-requests: read lets the wall include people who only show up as
# merged PR authors. The reusable workflow cannot gain that scope unless
# the caller grants it.

on:
push:
branches: [main]
schedule:
- cron: "11 5 * * 0"
workflow_dispatch:

permissions:
contents: write
pull-requests: read

jobs:
wall:
uses: YauhenBichel/readme-contributors/.github/workflows/wall.yml@3f3b442309052873cae16e7fce8a28f465a88768 # v1.9.2
with:
format: html
secrets:
CONTRIBUTORS_DEPLOY_KEY: ${{ secrets.CONTRIBUTORS_DEPLOY_KEY }}
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,18 @@ privately as described in [SECURITY.md](SECURITY.md).
> **Not a medical device.** This package draws a body diagram; it never says
> what a count or a region means. It makes no clinical claim.

## Contributors

Thank you to everyone who has helped @molecare/react-body-map.

<!-- readme: contributors,bots/- -start -->
<!-- readme: contributors,bots/- -end -->

The list is filled by [Contributors](./.github/workflows/contributors.yml) from
GitHub commits, bots omitted — never hand-maintained, because a stale list is
worse than none. [Contributor graph](https://github.com/MoleCare/react-body-map/graphs/contributors) ·
[good first issue](https://github.com/MoleCare/react-body-map/labels/good%20first%20issue)

## Licence

[Apache-2.0](LICENSE) © MoleCare LTD
Loading