From a18444e6916edb80cfcbe78dc066f4d9b6a225f7 Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Tue, 27 May 2025 19:10:00 +0200 Subject: [PATCH] chore: add workflow to pull release testing issues into the BTR board --- .../add-issue-to-btr-project-board-yml | 23 ++++--------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/add-issue-to-btr-project-board-yml b/.github/workflows/add-issue-to-btr-project-board-yml index 217b7e9fd..4d2d22f18 100644 --- a/.github/workflows/add-issue-to-btr-project-board-yml +++ b/.github/workflows/add-issue-to-btr-project-board-yml @@ -1,26 +1,11 @@ -name: Add release testing issues to BTR project and needs triage label +name: Handle release testing issues on: issues: types: [labeled] + jobs: - add-issue-to-project: - name: "Add release testing issue to project" - if: github.event.label.name == 'release testing' - uses: openedx/.github/.github/workflows/add-issue-to-a-project.yml@master + handle-release-testing: + uses: openedx/.github/.github/workflows/add-release-testing-issues-to-project.yml@master secrets: GITHUB_APP_ID: ${{ secrets.GRAPHQL_AUTH_APP_ID }} GITHUB_APP_PRIVATE_KEY: ${{ secrets.GRAPHQL_AUTH_APP_PEM }} - with: - # required, it's the numeric part of a github project url - # for example, https://github.com/orgs/openedx/projects/28 has PROJECT_NUMBER: 28 - PROJECT_NUMBER: 28 - - add-needs-triage-label: - name: "Add needs triage label" - runs-on: ubuntu-latest - if: github.event.label.name == 'release testing' && !contains(github.event.issue.labels.*.name, 'needs triage') - steps: - - name: Apply needs triage label - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: needs triage