Skip to content

Add more info about the host value on the "Starburst/Trino setup" oage #18

Add more info about the host value on the "Starburst/Trino setup" oage

Add more info about the host value on the "Starburst/Trino setup" oage #18

# **what?**
# Labels issues autogenerated in dbt-core
# **why?**
# To organize autogenerated issues from dbt-core to make it easier to find and track them.
# **when?**
# When an issue is opened by the FishtownBuildBot
name: Add Labels to Autogenerated Issues
on:
issues:
types: [opened]
jobs:
add_customized_labels:
if: github.event.issue.user.login == 'FishtownBuildBot'
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: "Determine appropriate labels by repo in title"
id: repo
env:
ISSUE_TITLE: ${{ github.event.issue.title }}
run: |
if [[ "$ISSUE_TITLE" == *"dbt-core"* ]]; then
echo "labels='content,improvement,dbt Core'" >> $GITHUB_OUTPUT
else
echo "labels='content,improvement,adapters'" >> $GITHUB_OUTPUT
fi
- name: "Add Labels to autogenerated Issues"
id: add-labels
run: |
gh issue edit ${{ github.event.issue.number }} --repo ${{ github.repository }} --add-label ${{ steps.repo.outputs.labels }}
env:
GH_TOKEN: ${{ secrets.DOCS_SECRET }}