Merge pull request #48 from reviewdog/label

Support adding label
This commit is contained in:
haya14busa
2021-09-21 00:29:01 +09:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ jobs:
file: testdata/testfile file: testdata/testfile
version_name: REVIEWDOG_VERSION version_name: REVIEWDOG_VERSION
repo: reviewdog/reviewdog repo: reviewdog/reviewdog
labels: demo
redpen: redpen:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -28,6 +29,7 @@ jobs:
version_name: REDPEN_VERSION version_name: REDPEN_VERSION
repo: redpen-cc/redpen repo: redpen-cc/redpen
tag_prefix: redpen- tag_prefix: redpen-
labels: demo
themis: themis:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -40,3 +42,4 @@ jobs:
version_name: THEMIS_VERSION version_name: THEMIS_VERSION
repo: thinca/vim-themis repo: thinca/vim-themis
tag: true tag: true
labels: demo

View File

@@ -22,6 +22,9 @@ inputs:
description: 'Tag prefix used for building link in PR description' description: 'Tag prefix used for building link in PR description'
default: 'v' default: 'v'
required: false required: false
labels:
description: 'PR labels'
required: false
outputs: outputs:
current: current:
description: 'current version' description: 'current version'
@@ -55,6 +58,7 @@ runs:
This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}). This PR is auto generated by [depup workflow](https://github.com/${{ github.repository }}/actions?query=workflow%3A${{ github.workflow }}).
branch: depup/${{ steps.depup.outputs.repo }} branch: depup/${{ steps.depup.outputs.repo }}
base: ${{ github.event.repository.default_branch }} base: ${{ github.event.repository.default_branch }}
labels: ${{ inputs.labels }}
# Ref: https://haya14busa.github.io/github-action-brandings/ # Ref: https://haya14busa.github.io/github-action-brandings/
branding: branding: