From a7525d930571e4657ebcf5aea68cb13ce544a52d Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Wed, 23 Mar 2022 08:06:45 +0000 Subject: [PATCH] ci: only save pr number artifact for dependabot --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a82241..50b37b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,10 +120,11 @@ jobs: # This job is used to save the PR number in an artifact, for use in the automerge.yml workflow save-pr-number: - name: Save PR Number + name: Save Dependabot PR Number if: > github.event.pull_request.draft == false && - github.event_name == 'pull_request' + github.event_name == 'pull_request' && + github.actor == 'dependabot[bot]' runs-on: ubuntu-latest steps: - name: Check out repo