Skip to content

Commit

Permalink
change trigger (#8418)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop authored Aug 17, 2023
1 parent 17cd145 commit 37a2907
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docs-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
# To reduce barriers for keeping docs up to date

# **when?**
# When a PR is labeled `user docs` and is merged
# When a PR is labeled `user docs` and is merged. Runs on pull_request_target to run off the workflow already merged,
# not the workflow that existed on the PR branch. This allows old PRs to get comments.


name: Open issues in docs.getdbt.com repo when a PR is labeled
run-name: "Open an issue in docs.getdbt.com for PR #${{ github.event.pull_request.number }}"

on:
pull_request:
pull_request_target:
types: [labeled, closed]

defaults:
Expand Down

0 comments on commit 37a2907

Please sign in to comment.