Created
March 1, 2023 23:09
-
-
Save anoopt/21a5ed9a251d7ae8eb991a310380a194 to your computer and use it in GitHub Desktop.
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
name: "On pull request" | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
create-task: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create a task for the user | |
uses: anoopt/ms-graph-create-task@v1 | |
with: | |
clientId: ${{ secrets.CLIENT_ID }} | |
clientSecret: ${{ secrets.CLIENT_SECRET }} | |
tenantId: "8158ff72-231e-4400-b397-6dd1ad63f4b6" | |
planId: "dyzgid7nk0uzGs1q5Uj3LJcABo4Z" | |
bucketId: "Ys2XyYjrnkCQDmOZEJ8KDZcADKs9" | |
title: "Review pull request - ${{ github.event.pull_request.title }}" | |
userId: "73ebbe8e-be1f-464d-847a-855598310a7d" | |
description: "Please review the pull request (${{ github.event.pull_request.title }}). Link to the pull request ${{ github.event.pull_request.html_url }}." | |
priority: "1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment