Skip to content

Commit

Permalink
do not fail changelog check on dependabot PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kyledurand committed Oct 31, 2024
1 parent d0b1dc6 commit 6d9b414
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
check:
if: |
github.event.pull_request.user.login != 'dependabot[bot]' &&
!contains(github.event.pull_request.head.ref, 'changeset-release') &&
!contains(github.event.pull_request.labels.*.name, '🤖Skip Changelog')
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ permissions:
jobs:
dependabot:
runs-on: shopify-ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v1.3.6
uses: dependabot/fetch-metadata@v2
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'

Expand Down

0 comments on commit 6d9b414

Please sign in to comment.