diff --git a/.github/ACTION_ISSUE_TEMPLATE.md b/.github/ACTION_ISSUE_TEMPLATE.md new file mode 100644 index 00000000..f54f75e8 --- /dev/null +++ b/.github/ACTION_ISSUE_TEMPLATE.md @@ -0,0 +1,11 @@ +--- +title: Document PR {{ payload.client_payload.number }} - {{ payload.client_payload.title }} +--- + +Documentation is needed for changes made in https://github.com/bookwyrm-social/bookwyrm/pull/{{ payload.client_payload.number }} + +Pull Request notes are below. + +--- + +{{ payload.client_payload.body }} diff --git a/.github/workflows/receive_docs_issues.yml b/.github/workflows/receive_docs_issues.yml new file mode 100644 index 00000000..b7a63da3 --- /dev/null +++ b/.github/workflows/receive_docs_issues.yml @@ -0,0 +1,16 @@ +name: Repository Dispatch +on: + repository_dispatch: + types: [docs-needed] +jobs: + create-issue: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/checkout@v4 + - uses: JasonEtco/create-an-issue@v2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + filename: .github/ACTION_ISSUE_TEMPLATE.md