Skip to content

Commit 37181a7

Browse files
authored
chore(actions): create winget-cla.yml
1 parent 0b363d6 commit 37181a7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/winget-cla.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Submit CLA to Winget PR
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
pr_url:
7+
description: "Specific PR URL"
8+
required: true
9+
type: string
10+
11+
jobs:
12+
comment:
13+
name: Comment to PR
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Submit CLA to Windows Package Manager Community Repository Pull Request
17+
run: gh pr comment $PR_URL --body "@microsoft-github-policy-service agree"
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.WINGET_ACC_TOKEN }}
20+
PR_URL: ${{ inputs.pr_url }}

0 commit comments

Comments
 (0)