generated from openshift/console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
becc9c2
commit 4375baf
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
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 |