feat: add-to-cc-board Github action created. (#2302)
- This is a label trigger to add an Issue or PR to the front-end [Core Contributor project board](https://github.com/orgs/openedx/projects/80). - This action uses the `Core Contributor assignee` label as a trigger. - This action reuses https://github.com/openedx/.github/pull/169 - When you add the label to an issue or PR, it is automatically added to the board https://github.com/orgs/openedx/projects/80
This commit is contained in:
15
.github/workflows/add-to-cc-board.yml
vendored
Normal file
15
.github/workflows/add-to-cc-board.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Trigger to add Issue or PR to a Core Contributor project board
|
||||
on:
|
||||
issues:
|
||||
types: [labeled]
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
|
||||
jobs:
|
||||
add-to-cc-board:
|
||||
if: github.event.label.name == 'Core Contributor assignee'
|
||||
uses: openedx/.github/.github/workflows/add-to-cc-board.yml@main
|
||||
with:
|
||||
board_name: cc-frontend-apps
|
||||
secrets:
|
||||
projects_access_token: ${{ secrets.PROJECTS_TOKEN }}
|
||||
Reference in New Issue
Block a user