Browse Source

feat: add version in release-close-issue

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1281/head
Wing-Kam Wong 2 years ago
parent
commit
45ecf11de5
  1. 10
      .github/workflows/release-close-issue.yml

10
.github/workflows/release-close-issue.yml

@ -7,6 +7,9 @@ on:
issue_label:
description: "All issues with such label will be closed"
required: true
version:
description: "Which version is this issue fixed in"
required: true
# Triggered by release-nocodb.yml
workflow_call:
inputs:
@ -14,13 +17,18 @@ on:
description: "All issues with such label will be closed"
required: true
type: string
version:
description: "Which version is this issue fixed in"
required: true
type: string
jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: close-resolved-issues
uses: bdougie/close-issues-based-on-label@master
uses: wingkwong/close-issues-based-on-label@master
env:
LABEL: ${{ github.event.inputs.issue_label || inputs.issue_label }}
VERSION: ${{ github.event.inputs.version || inputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading…
Cancel
Save