-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename project-infra-monitoring-ui.yml to add-to-imui-proj…
…ect.yml (#126963) The previous action was failing with an obscure JSON error, so I've copied the APM and Fleet actions instead.
- Loading branch information
1 parent
5f8f4d7
commit 9514e6b
Showing
2 changed files
with
31 additions
and
25 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,31 @@ | ||
name: Add to Infra Monitoring UI project | ||
on: | ||
issues: | ||
types: | ||
- labeled | ||
jobs: | ||
add_to_project: | ||
runs-on: ubuntu-latest | ||
if: | | ||
contains(github.event.issue.labels.*.name, 'Team:Infra Monitoring UI') || | ||
contains(github.event.issue.labels.*.name, 'Feature:Stack Monitoring') || | ||
contains(github.event.issue.labels.*.name, 'Feature:Logs UI') || | ||
contains(github.event.issue.labels.*.name, 'Feature:Metrics UI') | ||
steps: | ||
- uses: octokit/graphql-action@v2.x | ||
id: add_to_project | ||
with: | ||
headers: '{"GraphQL-Features": "projects_next_graphql"}' | ||
query: | | ||
mutation add_to_project($projectid:ID!,$contentid:ID!) { | ||
addProjectNextItem(input:{projectId:$projectid contentId:$contentid}) { | ||
projectNextItem { | ||
id | ||
} | ||
} | ||
} | ||
projectid: ${{ env.PROJECT_ID }} | ||
contentid: ${{ github.event.issue.node_id }} | ||
env: | ||
PROJECT_ID: "PN_kwDOAGc3Zs1EEA" | ||
GITHUB_TOKEN: ${{ secrets.PROJECT_ASSIGNER_TOKEN }} |
This file was deleted.
Oops, something went wrong.