Skip to content

build(deps): bump @octokit/webhooks and probot #29

build(deps): bump @octokit/webhooks and probot

build(deps): bump @octokit/webhooks and probot #29

name: IssueBot Integration CICD
concurrency:
group: issuebot-${{ github.ref }}
on:
pull_request:
types: [opened, edited, reopened, synchronize, labeled]
jobs:
issuebot-integration:
name: Trigger Integration CICD
runs-on: ubuntu-latest
timeout-minutes: 10
if: contains(github.event.pull_request.labels.*.name, 'integration deployment')
steps:
- name: Get tag
shell: bash
id: get_tag
run: echo TAG=$(echo $GITHUB_REF | cut -d / -f 3) >> $GITHUB_OUTPUT
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.ISSUEBOT_CD_PAT }}
repository: ${{ secrets.ISSUEBOT_CD_REPOSITORY }}
event-type: integration_deployment
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag": "${{ steps.get_tag.outputs.TAG }}"}'