Skip to content

For dbt seeds and csv format of unit testing, empty strings ("") and "null" both convert to NULL #170

For dbt seeds and csv format of unit testing, empty strings ("") and "null" both convert to NULL

For dbt seeds and csv format of unit testing, empty strings ("") and "null" both convert to NULL #170

# **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 }}