From 514760df24bd906b9e5d3a56deac0d18cba59a6d Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Tue, 30 Mar 2021 13:31:15 -0300 Subject: [PATCH] Run sponsors check only on issue creation 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. --- .github/workflows/sponsors.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 3e909f6..1a3b119 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -2,8 +2,6 @@ name: sponsors on: - pull_request: - types: [opened] issues: types: [opened] @@ -22,4 +20,4 @@ jobs: - name: 💛 sponsors run: ./.github/workflows/sponsors.ps1 env: - GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.DEVLOOPED_TOKEN }}