Skip to content

Commit

Permalink
ci: add expires_at in gitlab credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
nipierre committed Jul 21, 2023
1 parent fa42a3b commit dc535cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gitlab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
; user.password = '${{ github.token }}'
; user.password_confirmation = '${{ github.token }}'
; user.save!
; token = user.personal_access_tokens.create(scopes: [:api], name: 'Token')
; token = user.personal_access_tokens.create(scopes: [:api], name: 'Token', expires_at: 1.days.from_now)
; token.set_token('${{ github.token }}')
; token.save!
"
Expand Down

0 comments on commit dc535cc

Please sign in to comment.