From 8e0cd8182feaa23d767e8766ce5e1c8add1a3326 Mon Sep 17 00:00:00 2001 From: nipsufn Date: Mon, 7 Oct 2024 08:36:33 +0200 Subject: [PATCH 1/2] chore: adjust project automation --- .github/workflows/pm.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pm.yml b/.github/workflows/pm.yml index 09b9fd6f83a2..c81a8d1c2c05 100644 --- a/.github/workflows/pm.yml +++ b/.github/workflows/pm.yml @@ -7,14 +7,23 @@ on: pull_request: types: - opened + - ready_for_review jobs: - add-to-project: + automate: if: github.event.pull_request.head.repo.fork == false name: Add issue to project runs-on: ubuntu-latest + timeout-minutes: 5 steps: - - uses: actions/add-to-project@v0.5.0 + - uses: ory-corp/planning-automation-action@main with: - project-url: https://github.com/orgs/ory-corp/projects/5 - github-token: ${{ secrets.ORY_BOT_PAT }} + project: 5 + organization: ory-corp + token: ${{ secrets.ORY_BOT_PAT }} + todo_label: "Needs Triage" + statusName: Status + statusValue: "Needs Triage" + includeEffort: "false" + monthlyMilestoneName: Roadmap Monthly + quarterlyMilestoneName: Roadmap From da6ec464c0ad3f769cac40aa44a650aeed0d1771 Mon Sep 17 00:00:00 2001 From: nipsufn Date: Wed, 9 Oct 2024 12:26:04 +0200 Subject: [PATCH 2/2] chore: reviewer remark - make action inputs consistent --- .github/workflows/pm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pm.yml b/.github/workflows/pm.yml index c81a8d1c2c05..b661cd23126e 100644 --- a/.github/workflows/pm.yml +++ b/.github/workflows/pm.yml @@ -21,7 +21,7 @@ jobs: project: 5 organization: ory-corp token: ${{ secrets.ORY_BOT_PAT }} - todo_label: "Needs Triage" + todoLabel: "Needs Triage" statusName: Status statusValue: "Needs Triage" includeEffort: "false"