feat(CI): try assign-to-one-project

This commit is contained in:
Francesco Borzì
2022-10-28 17:23:48 +02:00
committed by GitHub
parent d4d58d2432
commit 30bbd5bb2b

View File

@@ -1,18 +1,23 @@
name: Add issues to projects name: Auto Assign to Project(s)
on: on:
issues: issues:
types: [opened, labeled] types: [opened, labeled]
issue_comment: issue_comment:
types: [created] types: [created]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs: jobs:
add-to-project: assign_one_project:
name: Add issue to project
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Assign to One Project
steps: steps:
- uses: actions/add-to-project@v0.0.5 - name: Assign issues and pull requests with `bug` label to project 3
with: uses: srggrs/assign-one-project-github-action@1.2.1
project-url: https://github.com/azerothcore/azerothcore-wotlk/projects/14 if: |
github-token: ${{ secrets.GITHUB_TOKEN }} contains(github.event.issue.labels.*.name, '1-19')
labeled: 1-19 with:
project: 'https://github.com/azerothcore/azerothcore-wotlk/projects/14'
column_name: 'Labeled'