diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..7eaf203 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# These owners will be the default owners for everything in +# the repo. Unless a later match takes precedence, +* @Team488/core-robot-maintainers diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..87f4e93 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,11 @@ +# Why are we doing this? + +Asana task URL: + +# Whats changing? + +# Questions/notes for reviewers + +# How this was tested +- [ ] unit tests added +- [ ] tested on robot diff --git a/.github/workflows/comment-on-task.yaml b/.github/workflows/comment-on-task.yaml new file mode 100644 index 0000000..e9eba9c --- /dev/null +++ b/.github/workflows/comment-on-task.yaml @@ -0,0 +1,17 @@ +on: + pull_request: + types: [opened, closed, reopened, edited, converted_to_draft, ready_for_review] + +jobs: + create-comment-in-asana-task-job: + runs-on: ubuntu-latest + name: Create a comment in Asana Task + steps: + - name: Create a comment + uses: Asana/comment-on-task-github-action@v1.2 + id: createComment + with: + asana-secret: ${{ secrets.ASANA_SECRET }} + comment-text: "{{PR_NAME}} is {{PR_STATE}}: {{PR_URL}}" + - name: Get status + run: echo "Status is ${{ steps.createComment.outputs.status }}" \ No newline at end of file diff --git a/.github/workflows/create-asana-attachment.yml b/.github/workflows/create-asana-attachment.yml new file mode 100644 index 0000000..697f134 --- /dev/null +++ b/.github/workflows/create-asana-attachment.yml @@ -0,0 +1,16 @@ +on: + pull_request: + types: [opened, reopened, edited, converted_to_draft, ready_for_review] + +jobs: + create-asana-attachment-job: + runs-on: ubuntu-latest + name: Create pull request attachments on Asana tasks + steps: + - name: Create pull request attachments + uses: Asana/create-app-attachment-github-action@latest + id: postAttachment + with: + asana-secret: ${{ secrets.ASANA_SECRET }} + - name: Log output status + run: echo "Status is ${{ steps.postAttachment.outputs.status }}" \ No newline at end of file