Skip to content

Commit

Permalink
ci: only save pr number artifact for dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Mar 23, 2022
1 parent 3648199 commit a7525d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7525d9

Please sign in to comment.