Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gh-agent-workflows/update-pr-body/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See [example.yml](example.yml) for the full workflow file.

| Event | Types | Condition |
| --- | --- | --- |
| `pull_request` | `opened`, `synchronize`, `reopened`, `ready_for_review` | PR is not a draft |
| `pull_request` | `opened`, `synchronize`, `reopened`, `ready_for_review` | PR is not a draft and does not have `skip-pr-body-update` label |

## Inputs

Expand Down
2 changes: 1 addition & 1 deletion gh-agent-workflows/update-pr-body/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
run:
if: github.event.pull_request.draft == false
if: github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'skip-pr-body-update')
uses: elastic/ai-github-actions/.github/workflows/gh-aw-update-pr-body.lock.yml@v0
secrets:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
Loading