Skip to content
Permalink
Browse files

add documentation bot

  • Loading branch information
3nids committed Jan 2, 2020
1 parent d8645f5 commit bdf292e1012bee08dcfd56d8ebeda3d7918b477c
Showing with 24 additions and 0 deletions.
  1. +24 −0 .github/workflows/pr_to_doc_issue.yml
@@ -0,0 +1,24 @@

on:
pull_request:
types:
- labeled
jobs:
docbot:
runs-on: ubuntu-latest
name: Create issue on doc repo for labeled issue
if: github.event.label.name == 'Documentation'
steps:
- name: Create Documentation issue
id: doc_issue
uses: maxkomarychev/oction-create-issue@v0.7.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
owner: qgis
repo: QGIS-Documentation
title: ${{ format('Request in QGIS ({1})', github.event.pull_request.number, github.event.pull_request.title) }}
body: ${{ format('Request for documentation in QGIS/qgis#{0} {1})', github.event.pull_request.number, github.event.pull_request.title) }}
- name: Print outputs
run: |
echo ${{ steps.doc_issue.outputs.id }}
echo ${{ steps.doc_issue.outputs.number }}

0 comments on commit bdf292e

Please sign in to comment.
You can’t perform that action at this time.