Skip to content

Define Collector behavior for shared declarative instrumentation configuration #2650

Define Collector behavior for shared declarative instrumentation configuration

Define Collector behavior for shared declarative instrumentation configuration #2650

name: "Rerun Failed Workflows"
on:
issue_comment:
types:
- created
permissions: read-all
jobs:
rerun-failed:
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '/rerun') && github.repository_owner == 'open-telemetry' }}
permissions:
actions: write
checks: read
contents: read
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
persist-credentials: false
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: otelbot-token
with:
app-id: ${{ vars.OTELBOT_APP_ID }}
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
- name: Run rerun-failed-workflows.sh
run: ./.github/workflows/scripts/rerun-failed-workflows.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ORG_TOKEN: ${{ steps.otelbot-token.outputs.token }}
PR_NUMBER: ${{ github.event.issue.number }}
COMMENT: ${{ github.event.comment.body }}
SENDER: ${{ github.event.comment.user.login }}