User docs - ddamart - #2111: [Bug] BigQuery _clusters_match use case-sensitive comparison and causes an unnecessary table drop #1614
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
| # **what?** | |
| # Creates an issue in the docs repository when an issue is closed with the 'needs:docs' label. | |
| # **why?** | |
| # Ensures documentation updates are tracked and don't get forgotten when issues are closed. | |
| # **when?** | |
| # This workflow runs when an issue is labeled or closed, specifically when an issue is closed with the 'needs:docs' label. | |
| name: "User docs" | |
| run-name: "User docs - ${{ github.actor }} - #${{ github.event.issue.number }}: ${{ github.event.issue.title }}" | |
| on: | |
| issues: | |
| types: [labeled, closed] | |
| defaults: | |
| run: | |
| shell: bash | |
| permissions: | |
| issues: write # comments on issues | |
| # only run this once per issue | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.issue.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| open_issues: | |
| if: | | |
| github.event.issue.state == 'closed' && | |
| github.event.issue.state_reason == 'completed' && | |
| contains(github.event.issue.labels.*.name, 'needs:docs') | |
| uses: dbt-labs/actions/.github/workflows/open-issue-in-repo.yml@main | |
| with: | |
| issue_repository: "dbt-labs/docs.getdbt.com" | |
| issue_title: "Docs Changes Needed from dbt-adapters - Issue #${{ github.event.issue.number }}" | |
| issue_body: "At a minimum, update body to include a link to the page on docs.getdbt.com requiring updates and what part(s) of the page you would like to see updated." | |
| secrets: inherit |