Skip to content

Commit

Permalink
Switch to purple heart color
Browse files Browse the repository at this point in the history
  • Loading branch information
kzu authored Aug 20, 2022
1 parent e383e2c commit 843c61f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs:
label:
description: The label to apply to the issue or pull request. Defaults to "sponsor ❤️".
required: false
default: 'sponsor ❤️'
default: 'sponsor 💜'
gold-label:
description: The label to apply when sponsor amount is above the gold-amount. Defaults to "sponsor 💛".
required: false
Expand Down Expand Up @@ -38,7 +38,7 @@ runs:
steps:
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- name: ❤️ sponsor
- name: 💜 sponsor
if: ${{ !endsWith(github.event.sender.login, '[bot]') }}
shell: pwsh
env:
Expand Down
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# ❤️ sponsor
# 💜 sponsor

A GitHub Action that labels issues and pull requests if the creator is a sponsor,
or belongs to an organization that is.

## Usage

```
- name: ❤️ sponsor
- name: 💜 sponsor
uses: devlooped/actions-sponsor@v1
with:
# The label to apply to the issue or pull request.
# Defaults to "sponsor ❤️".
# Defaults to "sponsor 💜".
label: ''
# The label to apply when sponsor amount is above the gold-amount.
Expand Down Expand Up @@ -39,7 +39,7 @@ or belongs to an organization that is.
Minimal example, using default labels, repo owner and gold label threshold:

```yml
name: sponsor ❤️
name: sponsor 💜
on:
issues:
types: [opened, edited, reopened]
Expand All @@ -54,7 +54,7 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v2

- name: ❤️ sponsor
- name: 💜 sponsor
uses: devlooped/actions-sponsor@v1
with:
token: ${{ secrets.GH_TOKEN }}
Expand All @@ -65,7 +65,7 @@ jobs:
Full example overriding all values (and running on *all* issue/PR events):

```yml
name: sponsor ❤️
name: sponsor 💜
on: [issues, pull_request]
jobs:
Expand All @@ -76,7 +76,7 @@ jobs:
- name: 🤘 checkout
uses: actions/checkout@v2
- name: ❤️ sponsor
- name: 💜 sponsor
uses: devlooped/actions-sponsor@v1
with:
label: sponsor
Expand Down

0 comments on commit 843c61f

Please sign in to comment.