Skip to content

Commit

Permalink
Merge pull request #581 from woowacourse-teams/release/test
Browse files Browse the repository at this point in the history
hotfix: 토큰 시간 변경 및 워크 플로우 수정
  • Loading branch information
dooboocookie authored Nov 17, 2023
2 parents 83cfbe7 + d921db6 commit e2b519d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/merge_current_to_dev_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: merge current branch into dev branches CI

on:
push:
branches:
- 'release/**'
- 'hotfix/**'

jobs:
merge-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: merge current branch -> dev_backend
uses: devmasx/merge-branch@master
with:
type: now
target_branch: dev_backend
message: Merge release or hotfix into dev_backend
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: merge current branch -> dev_android
uses: devmasx/merge-branch@master
with:
type: now
target_branch: dev_android
message: Merge release or hotfix into dev_android
github_token: ${{ secrets.GITHUB_TOKEN }}

Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

@Component
public class AuthTokenGenerator {

private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 20; // 20초
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 1; // 1분
private static final long ACCESS_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30일
private static final long REFRESH_TOKEN_EXPIRE_TIME = 1000L * 60 * 60 * 24 * 30; // 30일

private final JwtProvider jwtProvider;

Expand Down

0 comments on commit e2b519d

Please sign in to comment.