Skip to content

Commit 7eaa7b6

Browse files
authored
refactor: using a bash script instead of using a dockerfile (#1333)
1 parent 78221d7 commit 7eaa7b6

2 files changed

Lines changed: 12 additions & 24 deletions

File tree

actions/pull-request/rebase-branch/Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

actions/pull-request/rebase-branch/action.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,15 @@ inputs:
3030
default: 'false'
3131

3232
runs:
33-
using: 'docker'
34-
image: 'Dockerfile'
35-
args:
36-
- "--base-branch"
37-
- ${{ inputs.base_branch }}
38-
- "--committer-name"
39-
- ${{ inputs.committer_name }}
40-
- "--committer-email"
41-
- ${{ inputs.committer_email }}
42-
- "--keyid"
43-
- ${{ inputs.keyid }}
44-
- "--key"
45-
- ${{ inputs.key }}
46-
- "--fail-on-rebase-failure"
47-
- ${{ inputs.fail_on_rebase_failure }}
33+
using: composite
34+
steps:
35+
- name: Rebase branch
36+
shell: bash
37+
run: |
38+
bash "${{ github.action_path }}/entrypoint" \
39+
--base-branch "${{ inputs.base_branch }}" \
40+
--committer-name "${{ inputs.committer_name }}" \
41+
--committer-email "${{ inputs.committer_email }}" \
42+
--keyid "${{ inputs.keyid }}" \
43+
--key "${{ inputs.key }}" \
44+
--fail-on-rebase-failure "${{ inputs.fail_on_rebase_failure }}"

0 commit comments

Comments
 (0)