Skip to content

Commit

Permalink
feat: README
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Suho committed Jan 28, 2020
1 parent f521763 commit bb29468
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@ jobs:
name: Gitflow Automation
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: gitflow-automation
uses: peoplefund-tech/[email protected].0
uses: peoplefund-tech/[email protected].1
env:
BRANCH_PREFIX: "hotfix/"
TARGET_BRANCH: "develop"
BASE_BRANCH: "master"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BOT_TOKEN: ${{ secrets.BOT_TOKEN }} # 선택사항

```
- `BRANCH_PREFIX`: hotfix 브랜치의 prefix를 적어 주세요.
- `TARGET_BRANCH`: automerge되어야 하는 브랜치를 적어주세요.
- `BASE_BRANCH`: event가 발생할 브랜치를 적어주세요.
- `GITHUB_TOKEN`: 특별한 경우가 아닌 이상 예제와 동일하게 적어주시면 됩니다.
- `BOT_TOKEN`: PR이 1명 이상의 assigner가 필요한 경우 assign할 bot의 token을 등록해 주세요. github repository의 secrets를 이용하는 것을 권장합니다.

0 comments on commit bb29468

Please sign in to comment.