From c1d34c23a8294eb1b0358b7a7461cdb7f151838a Mon Sep 17 00:00:00 2001 From: Milana Cap Date: Tue, 22 Oct 2024 12:10:57 +0200 Subject: [PATCH] Update add-to-project.yml --- .github/workflows/add-to-project.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index cdf2f0f..eab6f33 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -103,3 +103,17 @@ jobs: labeled: 6.5 # In case there is more than one label, use operators # label-operator: AND + + add-to-wp-6-7-project: + name: Add WP 6.7 Issue(s) to WP 6.7 Documentation project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + if: contains(github.event.issue.labels.*.name, '6.7') + # https://github.com/marketplace/actions/add-to-github-projects + with: + project-url: https://github.com/orgs/WordPress/projects/223 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: 6.7 + # In case there is more than one label, use operators + # label-operator: AND