From 94f6df76f3ac28b5033ee80c20b39e01cfa3f1b2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 13:34:27 +0000 Subject: [PATCH 1/2] Initial plan From 978f39d228bf021ea4fa06efc7c361639be4e13a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 18 Nov 2025 13:40:09 +0000 Subject: [PATCH 2/2] Replace deprecated action with actions/add-to-project@v1.0.2 Co-authored-by: v1v <2871786+v1v@users.noreply.github.com> --- .github/workflows/addToProject.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/addToProject.yml b/.github/workflows/addToProject.yml index 0f86393b5..b17c8a2e2 100644 --- a/.github/workflows/addToProject.yml +++ b/.github/workflows/addToProject.yml @@ -27,20 +27,14 @@ jobs: "pull_requests": "read" } - name: Assign issues with milestones to project - uses: elastic/assign-one-project-github-action@1.2.2 + uses: actions/add-to-project@v1.0.2 if: github.event.issue && github.event.issue.milestone with: - project: 'https://github.com/orgs/elastic/projects/454' - project_id: '5882982' - column_name: 'Planned' - env: - MY_GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} + project-url: https://github.com/orgs/elastic/projects/454 + github-token: ${{ steps.get_token.outputs.token }} - name: Assign new pull requests to project - uses: elastic/assign-one-project-github-action@1.2.2 + uses: actions/add-to-project@v1.0.2 if: github.event.action == 'opened' && github.event.pull_request with: - project: 'https://github.com/orgs/elastic/projects/454' - project_id: '5882982' - column_name: 'In Progress' - env: - MY_GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} + project-url: https://github.com/orgs/elastic/projects/454 + github-token: ${{ steps.get_token.outputs.token }}