Skip to content

Fix Reopened status #193

Fix Reopened status

Fix Reopened status #193

name: KanbanBot Integration CICD
concurrency:
group: kanbanbot-${{ github.ref }}
on:
pull_request:
types: [opened, edited, reopened, synchronize, labeled]
jobs:
kanbanbot-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.KANBANBOT_CD_PAT }}
repository: ${{ secrets.KANBANBOT_CD_REPOSITORY }}
event-type: integration_deployment
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "tag": "${{ steps.get_tag.outputs.TAG }}"}'