File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 3434 url : ${{ steps.deploy.outputs.deployment-url || '' }}
3535
3636 steps :
37- - name : Checkout source code (PR)
37+ - name : Check if Dependabot PR
38+ id : dependabot-check
3839 if : github.event_name == 'pull_request'
40+ run : |
41+ if [ "${{ github.event.pull_request.user.login }}" = "dependabot[bot]" ]; then
42+ echo "is_dependabot=true" >> $GITHUB_OUTPUT
43+ echo "✅ Dependabot PR detected - marking as passed (Dependabot PRs don't modify docs)"
44+ else
45+ echo "is_dependabot=false" >> $GITHUB_OUTPUT
46+ fi
47+
48+ - name : Checkout source code (PR)
49+ if : github.event_name == 'pull_request' && steps.dependabot-check.outputs.is_dependabot != 'true'
3950 uses : actions/checkout@v6
4051 with :
4152 submodules : recursive
5566
5667 - name : Detect docs changes
5768 id : changes
69+ if : steps.dependabot-check.outputs.is_dependabot != 'true'
5870 uses : dorny/paths-filter@v3
5971 with :
6072 filters : |
You can’t perform that action at this time.
0 commit comments