Skip to content

Commit

Permalink
fix(rebase): add github token input
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed May 18, 2022
1 parent a653be5 commit 2802ff9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rebase/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ inputs:
description: 'Base branch to use to rebase target.'
required: true

token:
description: 'GitHub token to use.'
required: true

runs:
using: composite
steps:
Expand All @@ -20,6 +24,8 @@ runs:
fetch-depth: 0

- uses: myparcelnl/actions/setup-git-credentials@main
with:
token: ${{ inputs.token }}

- name: 'Rebase and push'
if: inputs.target && inputs.base
Expand Down

0 comments on commit 2802ff9

Please sign in to comment.