mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(CI): try assign-to-one-project
This commit is contained in:
21
.github/workflows/add-to-project.yml
vendored
21
.github/workflows/add-to-project.yml
vendored
@@ -1,18 +1,23 @@
|
||||
name: Add issues to projects
|
||||
name: Auto Assign to Project(s)
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, labeled]
|
||||
issue_comment:
|
||||
types: [created]
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
add-to-project:
|
||||
name: Add issue to project
|
||||
assign_one_project:
|
||||
runs-on: ubuntu-latest
|
||||
name: Assign to One Project
|
||||
steps:
|
||||
- uses: actions/add-to-project@v0.0.5
|
||||
with:
|
||||
project-url: https://github.com/azerothcore/azerothcore-wotlk/projects/14
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
labeled: 1-19
|
||||
- name: Assign issues and pull requests with `bug` label to project 3
|
||||
uses: srggrs/assign-one-project-github-action@1.2.1
|
||||
if: |
|
||||
contains(github.event.issue.labels.*.name, '1-19')
|
||||
with:
|
||||
project: 'https://github.com/azerothcore/azerothcore-wotlk/projects/14'
|
||||
column_name: 'Labeled'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user