From b283ed433dd5c14392965249d3b1e104be8e244e Mon Sep 17 00:00:00 2001 From: Pallav Dhobley <104137665+pallavx@users.noreply.github.com> Date: Wed, 18 Jan 2023 15:47:45 +0530 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 }}