From 5ee6a38bd09c79b938c26abbb2f6d31e0e337d11 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 20 Sep 2021 15:22:50 +0000 Subject: [PATCH 1/2] Support adding label --- with-pr/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/with-pr/action.yml b/with-pr/action.yml index afcf96d..00ef3f5 100644 --- a/with-pr/action.yml +++ b/with-pr/action.yml @@ -22,6 +22,9 @@ inputs: description: 'Tag prefix used for building link in PR description' default: 'v' required: false + labels: + description: 'PR labels' + required: false outputs: current: 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 }}). branch: depup/${{ steps.depup.outputs.repo }} base: ${{ github.event.repository.default_branch }} + labels: ${{ inputs.labels }} # Ref: https://haya14busa.github.io/github-action-brandings/ branding: From dc9db671072d49fd99d22ec1c7b4b71379a0fadd Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 20 Sep 2021 15:24:58 +0000 Subject: [PATCH 2/2] Use labels in the depup workflow --- .github/workflows/depup.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/depup.yml b/.github/workflows/depup.yml index 9f08407..a891396 100644 --- a/.github/workflows/depup.yml +++ b/.github/workflows/depup.yml @@ -17,6 +17,7 @@ jobs: file: testdata/testfile version_name: REVIEWDOG_VERSION repo: reviewdog/reviewdog + labels: demo redpen: runs-on: ubuntu-latest @@ -28,6 +29,7 @@ jobs: version_name: REDPEN_VERSION repo: redpen-cc/redpen tag_prefix: redpen- + labels: demo themis: runs-on: ubuntu-latest @@ -40,3 +42,4 @@ jobs: version_name: THEMIS_VERSION repo: thinca/vim-themis tag: true + labels: demo