From 37181a7b5e2aa5bed6a36298eac3a66aac2762b8 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Thu, 12 Oct 2023 12:51:17 +0900 Subject: [PATCH] chore(actions): create winget-cla.yml --- .github/workflows/winget-cla.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/winget-cla.yml diff --git a/.github/workflows/winget-cla.yml b/.github/workflows/winget-cla.yml new file mode 100644 index 00000000..bd3f5124 --- /dev/null +++ b/.github/workflows/winget-cla.yml @@ -0,0 +1,20 @@ +name: Submit CLA to Winget PR + +on: + workflow_dispatch: + inputs: + pr_url: + description: "Specific PR URL" + required: true + type: string + +jobs: + comment: + name: Comment to PR + runs-on: ubuntu-latest + steps: + - name: Submit CLA to Windows Package Manager Community Repository Pull Request + run: gh pr comment $PR_URL --body "@microsoft-github-policy-service agree" + env: + GITHUB_TOKEN: ${{ secrets.WINGET_ACC_TOKEN }} + PR_URL: ${{ inputs.pr_url }}