Skip to content

Commit

Permalink
Ignore dependabot PRs from unallowed triage workflow (github#22012)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene authored Oct 8, 2021
1 parent 955a8c0 commit 2ea2e9d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/triage-unallowed-contributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ on:

jobs:
triage:
if: github.repository == 'github/docs' && github.event.pull_request.user.login != 'Octomerger'
if: >-
${{
github.repository == 'github/docs' &&
github.event.pull_request.user.login != 'Octomerger' &&
github.event.pull_request.user.login != 'dependabot[bot]'
}}
runs-on: ubuntu-latest
steps:
- name: Get files changed
Expand Down Expand Up @@ -70,7 +75,7 @@ jobs:
if: ${{ steps.filter.outputs.notAllowed }}
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const badFilesArr = [
'.github/actions-scripts/**',
Expand Down

0 comments on commit 2ea2e9d

Please sign in to comment.