mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 12:03:48 +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:
|
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'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user