Skip to content

Commit

Permalink
Update GH action check for dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
joecowton1 committed May 31, 2023
1 parent af3eadc commit 3bb9eea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ar-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if: |
(github.event.label.name == 'run_chromatic' || github.ref == 'refs/heads/main') &&
(!contains(github.event.pull_request.labels.*.name, 'dependencies') &&
github.event.pull_request.user.login != 'dependabot')
github.event.pull_request.user.login != 'dependabot[bot]')
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__APPS_RENDERING }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Chromatic - Apps Rendering Dependency PR
uses: chromaui/action@v1
if: ${{ github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'dependencies') || github.event.pull_request.user.login == 'dependabot') }}
if: ${{ github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'dependencies') || github.event.pull_request.user.login == 'dependabot[bot]') }}
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__APPS_RENDERING }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dcr-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
if: |
(contains(github.event.pull_request.labels.*.name, 'run_chromatic') || github.ref == 'refs/heads/main') &&
(!contains(github.event.pull_request.labels.*.name, 'dependencies') &&
github.event.pull_request.user.login != 'dependabot')
github.event.pull_request.user.login != 'dependabot[bot]')
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__DOTCOM_RENDERING }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Chromatic - DCR Dependency PR
uses: chromaui/action@v1
if: ${{ github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'dependencies') || github.event.pull_request.user.login == 'dependabot') }}
if: ${{ github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, 'dependencies') || github.event.pull_request.user.login == 'dependabot[bot]') }}
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN__DOTCOM_RENDERING }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 3bb9eea

Please sign in to comment.