[Website]: At "If your pipeline is working correctly, you should see a series of events like the following written to the console:" step don't get output expected and no information on how to fix it #1515
This file contains hidden or 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: Triage & route issues | |
on: | |
issues: | |
types: [labeled] | |
permissions: | |
issues: write | |
contents: read | |
jobs: | |
route: | |
runs-on: ubuntu-latest | |
if: | | |
github.event.label.name == 'team:Ingest' || | |
github.event.label.name == 'team:Experience' || | |
github.event.label.name == 'team:Admin' || | |
github.event.label.name == 'team:Developer' || | |
github.event.label.name == 'team:DocsEng' || | |
github.event.label.name == 'team:Obs' || | |
github.event.label.name == 'team:Platform' || | |
github.event.label.name == 'team:Projects' || | |
github.event.label.name == 'team:Search' || | |
github.event.label.name == 'team:Security' | |
env: | |
PROJECT_ID_MAP: | | |
{ | |
"team:Ingest": "649", | |
"team:Experience": "1034", | |
"team:Admin": "1927", | |
"team:Developer": "726", | |
"team:DocsEng": "1625", | |
"team:Obs": "649", | |
"team:Platform": "1232", | |
"team:Projects": "1415", | |
"team:Search": "726", | |
"team:Security": "1034" | |
} | |
steps: | |
- name: Remove needs-team label | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: needs-team | |
- name: Add issue to the right project | |
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e | |
with: | |
project-url: https://github.com/orgs/elastic/projects/${{ fromJson(env.PROJECT_ID_MAP)[github.event.label.name] }} | |
github-token: ${{ secrets.ADD_TO_BOARD_TOKEN }} | |
labeled: ${{ github.event.label.name }} | |
label-operator: OR |