Fix issue #4695: [Bug]: Dependabot PRs fail on "Update PR Description" github action step (#4697)

This commit is contained in:
OpenHands
2024-11-01 21:32:31 -04:00
committed by GitHub
parent 2682518d0e
commit 9d3b77bffc

View File

@@ -401,7 +401,7 @@ jobs:
exit 1
update_pr_description:
name: Update PR Description
if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork
if: github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]'
needs: [ghcr_build_runtime]
runs-on: ubuntu-latest
steps: