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