mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-11 20:06:58 +00:00
Fix outstanding contribution badge (#15061)
This commit is contained in:
parent
7726dc5d66
commit
616a1f52a2
2 changed files with 17 additions and 2 deletions
2
.github/holopin.yml
vendored
2
.github/holopin.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
organization: cloudflare
|
||||
stickers:
|
||||
- id: cltg4w6r612040fl2r7vweuvv
|
||||
alias: outstanding contribution
|
||||
alias: "[automation] outstanding contribution"
|
||||
|
||||
holobytes:
|
||||
- evolvingStickerId: cltg4rlqc39020fl51scnguhb
|
||||
|
|
|
|||
17
.github/workflows/holopin.yml
vendored
17
.github/workflows/holopin.yml
vendored
|
|
@ -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:
|
||||
|
|
@ -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…
Add table
Reference in a new issue