From 4d0cbffc6dd8d89977b9da71255237bdf45f97a2 Mon Sep 17 00:00:00 2001 From: Evgeny Maslov Date: Mon, 26 Oct 2020 12:35:01 +0300 Subject: [PATCH 1/5] Add template --- .github/pull_request_template.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..a2a83bc --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,7 @@ +Please specify the following in the description: + +- Meaningful title. Use the tempalte: ```[Milestone]```.```PullRequest_Title``` +- A reference to the original GitHub issue using # selector. +- A description/notes about this pull request. +- If you fix a bug don't forget about test case. +- If you add a new feature don't forget about test case. \ No newline at end of file From 9af25ffccd14f063bdddcdfcfaeacb38da8468bd Mon Sep 17 00:00:00 2001 From: lyriccoder Date: Tue, 26 Jan 2021 15:24:50 +0300 Subject: [PATCH 2/5] Create polls.yml --- .github/workflows/polls.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/workflows/polls.yml diff --git a/.github/workflows/polls.yml b/.github/workflows/polls.yml new file mode 100644 index 0000000..79f8ac5 --- /dev/null +++ b/.github/workflows/polls.yml @@ -0,0 +1,2 @@ +- name: GitHub Polls Bot Action + uses: imjohnbo/gh-polls-bot-action@v2.0.2 From ae006b198e2d6706ff9cbaefa92a24b5d89a899a Mon Sep 17 00:00:00 2001 From: lyriccoder Date: Tue, 26 Jan 2021 15:29:40 +0300 Subject: [PATCH 3/5] Update polls.yml --- .github/workflows/polls.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/polls.yml b/.github/workflows/polls.yml index 79f8ac5..d596b4a 100644 --- a/.github/workflows/polls.yml +++ b/.github/workflows/polls.yml @@ -1,2 +1,15 @@ -- name: GitHub Polls Bot Action - uses: imjohnbo/gh-polls-bot-action@v2.0.2 +name: GitHub Polls Actions Bot + +on: + issue_comment: + types: [created, edited] # issue comment is created or edited + issues: + types: [opened, edited] # issue is opened or edited + +jobs: + polls: + runs-on: ubuntu-latest + steps: + - uses: imjohnbo/gh-polls-bot-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # created for you automatically; https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions#github_token-secret From f9f3c2de16fa454ebc8e2962e396dfc52ded5882 Mon Sep 17 00:00:00 2001 From: lyriccoder Date: Tue, 26 Jan 2021 15:33:48 +0300 Subject: [PATCH 4/5] Update polls.yml --- .github/workflows/polls.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/polls.yml b/.github/workflows/polls.yml index d596b4a..520b4af 100644 --- a/.github/workflows/polls.yml +++ b/.github/workflows/polls.yml @@ -5,7 +5,9 @@ on: types: [created, edited] # issue comment is created or edited issues: types: [opened, edited] # issue is opened or edited - + pull_request: + branches: [ master ] + jobs: polls: runs-on: ubuntu-latest From 893517cf862332fc84d9e82cd188a1675609ac9d Mon Sep 17 00:00:00 2001 From: lyriccoder Date: Tue, 26 Jan 2021 15:37:09 +0300 Subject: [PATCH 5/5] Update polls.yml --- .github/workflows/polls.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/polls.yml b/.github/workflows/polls.yml index 520b4af..aab2324 100644 --- a/.github/workflows/polls.yml +++ b/.github/workflows/polls.yml @@ -5,8 +5,8 @@ on: types: [created, edited] # issue comment is created or edited issues: types: [opened, edited] # issue is opened or edited - pull_request: - branches: [ master ] + pull_request_review_comment: + types: [created, edited] jobs: polls: