Skip to content

COMPONENT: use latest version of tmccombs/hcl2json #1925

COMPONENT: use latest version of tmccombs/hcl2json

COMPONENT: use latest version of tmccombs/hcl2json #1925

name: Update project board on issue changes
on:
issues:
types:
- opened
- edited
- closed
- reopened
- labeled
- unlabeled
- milestoned
- demilestoned
workflow_dispatch:
inputs:
issue:
description: "Issue number"
required: true
type: number
jobs:
trigger-external-update:
if: github.repository == 'hashicorp/terraform-cdk'
runs-on: ubuntu-latest
steps:
- name: Update project board
env:
GH_TOKEN: ${{ secrets.PROJECT_BOARD_UPDATE_GH_TOKEN }}
ISSUE: ${{ inputs.issue || github.event.issue.number }}
run: |
sleep 5
gh workflow run update-project-board-issue.yml -R hashicorp/update-project-board -f issue=$ISSUE -f repository=terraform-cdk -f project=125