Open user docs issue - #370 - VersusFacit #9
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: "Open user docs issue" | |
run-name: "Open user docs issue - #${{ github.event.issue.number }} - ${{ github.actor }}" | |
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, 'user 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 |