-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lee Suho
committed
Jan 28, 2020
1 parent
f521763
commit bb29468
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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를 이용하는 것을 권장합니다. |