Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Global Contribution badge #6018

Merged
merged 1 commit into from
Jun 12, 2024
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/holopin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
organization: cloudflare
stickers:
- id: cltg4w6r612040fl2r7vweuvv
alias: outstanding contribution
alias: "[automation] outstanding contribution"

holobytes:
- evolvingStickerId: cltg4rlqc39020fl51scnguhb
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/holopin.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Holopin
on:
pull_request_target:
types: [closed]
types:
- closed
- labeled

jobs:
issue_lava_lamp_holobyte:
name: Issue Lava Lamp Holobyte
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.merged }}
steps:
Expand All @@ -13,3 +17,14 @@ jobs:
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
LABELS: contribution
issue_global_contribution_badge:
name: Issue Global Contribution badge
runs-on: ubuntu-latest
if: github.event.label.name == 'outstanding contribution'
steps:
- run: gh pr edit "$NUMBER" --add-label "$LABELS"
env:
GH_TOKEN: ${{ secrets.HOLOPIN_LABELER }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.pull_request.number }}
LABELS: "[automation] outstanding contribution"
Loading