Add Console Plugin metadata #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add Console Plugin metadata | |
on: | |
issues: | |
types: | |
- opened | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add-and-update-project-fields: | |
# Only run jobs if the feature branch is in your repo (not in a fork) | |
# OR | |
# it is an issue | |
name: Add issue to project and set metadata | |
if: github.event.pull_request.head.repo.full_name == github.repository || github.event.issue.number != '' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update Project Fields | |
uses: titoportas/[email protected] | |
with: | |
project-url: https://github.com/orgs/Kuadrant/projects/18 | |
github-token: ${{ secrets.PROJECT_METADATA_SECRET }} | |
field-keys: Feature,Area | |
field-values: Console Plugin,User Experience |