Skip to content

Commit

Permalink
Merge pull request #16 from ianychoi/utilize-github-funcs
Browse files Browse the repository at this point in the history
Utilize .github functionalities with Actions
  • Loading branch information
ianychoi authored Aug 23, 2020
2 parents 2d464c6 + 95e63f9 commit 1442f18
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 16 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Template for documentation
about: Documentation
title: ''
labels: documentation
assignees: ''

---

## Describe which content you would like to issue
A clear and concise description of what the issue explains for documentation.
์–ด๋–ค ๋ถ€๋ถ„์— ๋Œ€ํ•œ ๋ฌธ์„œํ™”๋ฅผ ์ด์•ผ๊ธฐํ•˜๋Š”์ง€ ์š”์•ฝ ์„ค๋ช…์„ ์ ์–ด์ฃผ์„ธ์š”.

## Additional context (optional)
Explain any other context about this issue here if needed.
๋ถ€๊ฐ€์ ์œผ๋กœ ์ด์Šˆ์— ๋Œ€ํ•ด ์„ค๋ช…ํ•˜๊ณ ์ž ํ•˜๋Š” ๋‚ด์šฉ์ด ์žˆ์œผ๋ฉด ์ ์–ด์ฃผ์„ธ์š”.
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## WHY (PR์„ ์ œ์ถœํ•˜๋Š” ์ด์œ )

_Replace this paragraph with a description of why this PR is needed. (์ด ๋ถ€๋ถ„์— PR์„ ์ œ์ถœํ•˜๊ณ ์ž ํ•˜๋Š” ์ด์œ ๋ฅผ ์ ์–ด์ฃผ์„ธ์š”)_

## HOW (PR์„ ํ†ตํ•ด ์–ด๋–ค ๋ถ€๋ถ„์„ ์ˆ˜์ •ํ•˜๊ณ ์ž ํ•˜๋Š”๊ฐ€)

_Replace this paragraph with the description on how this PR is changing it. (์ด ๋ถ€๋ถ„์— ๋ฌด์—‡์„ ์–ด๋–ป๊ฒŒ ์ˆ˜์ •ํ•˜๊ณ ์ž ํ•˜๋Š”์ง€๋ฅผ ์ ์–ด์ฃผ์„ธ์š”)_

## Related Issues

_Replace this paragraph with a list of issues related to this PR from our [issue database]. (์ด์Šˆ ๋ถ€๋ถ„์— ์ œ์‹œ๋œ #{์ด์Šˆ ๋ฒˆํ˜ธ}% ๋ฅผ ๋‚˜์—ดํ•ด์ฃผ์„ธ์š”)_

## Checklist (ํ™•์ธ ์‚ฌํ•ญ)

Checking the relevant checkboxes (`[x]`) will ensure a smooth and quick review process. (์•„๋ž˜ ๋ถ€๋ถ„์„ ์ฒดํฌํ•ด์ฃผ์‹œ๋ฉด ๋ฆฌ๋ทฐํ•˜๋Š”๋ฐ ๋” ์ข‹์Šต๋‹ˆ๋‹ค)

- [ ] I signed the CLA. (๋ผ์ด์„ ์Šค ๋™์˜ ์—ฌ๋ถ€ - Apache License๋ฅผ ๋”ฐ๋ฆ…๋‹ˆ๋‹ค)
- [ ] I listed the related issues. (๊ด€๋ จ ์ด์Šˆ๋ฅผ ์ œ์‹œํ•˜์—ฌ ์—ฐ๊ฒฐํ•˜์˜€์Šต๋‹ˆ๋‹ค)
- [ ] I am willing to follow-up on review comments in a timely manner. (๋ฆฌ๋ทฐ ๋‚ด์šฉ์„ ์ž˜ ๋”ฐ๋ฅด๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค)

Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- master

jobs:
build_and_deploy_job:
Expand All @@ -18,6 +14,12 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Python dependencies and tox
run: |
python -m pip install --upgrade pip
sudo apt install python-tox
- name: Docs Lint and Sphinx build with tox
run: tox
- name: Build And Deploy
id: builddeploy
uses: Azure/[email protected]
Expand All @@ -31,15 +33,3 @@ jobs:
api_location: "api" # Api source code path - optional
app_artifact_location: "doc/build/html" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/[email protected]
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ZEALOUS_OCEAN_0BB043E1E }}
action: "close"

0 comments on commit 1442f18

Please sign in to comment.