link to open telemetry collector for infrastructure is not working #6817
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: Auto-triage issues to project boards | |
on: | |
issues: | |
types: [opened, labeled] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
COLUMN_NAME: Hero to triage # column where issues will be created | |
jobs: | |
content_project: | |
runs-on: ubuntu-latest | |
env: | |
PROJECT_ID: 11873277 | |
PROJECT_NAME: Docs PRs and Issues | |
name: Triage to Content Project | |
steps: | |
- name: Triages NEW issues to the Content Project | |
if: github.event.action == 'opened' | |
run: | | |
HEADER="Accept: application/vnd.github.inertia-preview+json" | |
ISSUE_ID=${{ github.event.issue.id }} | |
COLUMN=$(gh api -H "$HEADER" projects/$PROJECT_ID/columns --jq ".[] | select(.name == \"$COLUMN_NAME\").id") | |
gh api -H "$HEADER" -X POST projects/columns/$COLUMN/cards -f content_type='Issue' -F content_id=$ISSUE_ID | |
localization_project: | |
runs-on: ubuntu-latest | |
env: | |
PROJECT_ID: 12004783 | |
PROJECT_NAME: Docs Site Localization PRs and Issues | |
name: Triage to Localization Project | |
steps: | |
- name: Triages NEW issues to the Localization Project | |
if: | | |
github.event.action == 'labeled' && | |
contains(github.event.issue.labels.*.name, 'localization') | |
run: | | |
HEADER="Accept: application/vnd.github.inertia-preview+json" | |
ISSUE_ID=${{ github.event.issue.id }} | |
COLUMN=$(gh api -H "$HEADER" projects/$PROJECT_ID/columns --jq ".[] | select(.name == \"$COLUMN_NAME\").id") | |
gh api -H "$HEADER" -X POST projects/columns/$COLUMN/cards -f content_type='Issue' -F content_id=$ISSUE_ID | |