Skip to content

[MOPU-301] AI driven improvement on "What's happening" section for monitor templates #53495

[MOPU-301] AI driven improvement on "What's happening" section for monitor templates

[MOPU-301] AI driven improvement on "What's happening" section for monitor templates #53495

Workflow file for this run

name: Backport PR
on:
pull_request_target:
types:
- closed
- labeled
jobs:
backport:
name: Backport PR
runs-on: ubuntu-latest
if: >
github.event.pull_request.merged
&& (
github.event.action == 'closed'
|| (
github.event.action == 'labeled'
&& contains(github.event.label.name, 'backport')
)
)
steps:
- name: Create token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
id: token-generator
with:
app-id: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_APP_ID }}
private-key: ${{ secrets.DD_AGENT_INTEGRATIONS_BOT_PRIVATE_KEY }}
repositories: integrations-core
- uses: tibdex/backport@9565281eda0731b1d20c4025c43339fb0a23812e # v2.0.4
with:
label_pattern: "^backport/(?<base>([^ ]+))$"
labels_template: "[\"backport\", \"bot\"]"
body_template: |
Backport <%= mergeCommitSha %> from #<%= number %>.
___
<%= body %>
github_token: ${{ steps.token-generator.outputs.token }}