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