From 3c08cab74fe64645cd02a69a0d4c14f1791c9051 Mon Sep 17 00:00:00 2001 From: Pallav Dhobley <104137665+pallavx@users.noreply.github.com> Date: Wed, 18 Jan 2023 10:20:43 +0000 Subject: [PATCH] Introduce add-to-project step & rename add-reviewer-pr workflow file --- .../{add-reviewer-pr.yml => pr-opened-workflow.yml} | 6 ++++++ 1 file changed, 6 insertions(+) rename .github/workflows/{add-reviewer-pr.yml => pr-opened-workflow.yml} (83%) diff --git a/.github/workflows/add-reviewer-pr.yml b/.github/workflows/pr-opened-workflow.yml similarity index 83% rename from .github/workflows/add-reviewer-pr.yml rename to .github/workflows/pr-opened-workflow.yml index 3346d9e..cdd375a 100644 --- a/.github/workflows/add-reviewer-pr.yml +++ b/.github/workflows/pr-opened-workflow.yml @@ -18,3 +18,9 @@ jobs: - name: Add Assignee run: | curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}' + + - uses: actions/add-to-project@v0.4.0 + name: Add to Project Board + with: + project-url: https://github.com/orgs/actions/projects/12 + github-token: ${{ secrets.CACHE_BOARD_TOKEN }}