Skip to content

Commit e8347e4

Browse files
authored
Merge pull request #1268 from primer/skip-bundlesize
chore: Skip bundle size checks for Dependabot PRs
2 parents 1585064 + 1ee138a commit e8347e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/bundlesize.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
bundlesize:
99
name: Check Bundle Size
1010
runs-on: ubuntu-latest
11+
if: ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' }}
1112
steps:
1213
- uses: actions/checkout@v2
1314
with:
@@ -18,6 +19,6 @@ jobs:
1819
path: 'new'
1920

2021
- name: Check Bundle Size Change
21-
uses: "BinaryMuse/action-bundlesize@master"
22+
uses: 'BinaryMuse/action-bundlesize@master'
2223
env:
2324
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)