-
Notifications
You must be signed in to change notification settings - Fork 602
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(actions): create winget-cla.yml
- Loading branch information
1 parent
0b363d6
commit 37181a7
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |