Skip to content

Commit

Permalink
Run sponsors check only on issue creation
Browse files Browse the repository at this point in the history
Since PRs don't get secrets at all, the workflow was failing even for PRs from dependabot.

It's expected that contributors will typically create an issue before submitting a PR, so this should be enough to give awareness to issues reported by sponsors.
  • Loading branch information
kzu committed Mar 30, 2021
1 parent 11f5c27 commit 514760d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

name: sponsors
on:
pull_request:
types: [opened]
issues:
types: [opened]

Expand All @@ -22,4 +20,4 @@ jobs:
- name: 💛 sponsors
run: ./.github/workflows/sponsors.ps1
env:
GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }}
GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }}

0 comments on commit 514760d

Please sign in to comment.