Skip to content

Commit

Permalink
feat: Change to using composite run instead of Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
lcenchew committed Aug 16, 2020
1 parent 3fdb07b commit 175997d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 20 deletions.
7 changes: 0 additions & 7 deletions Dockerfile

This file was deleted.

14 changes: 8 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ inputs:
description: 'Upstream repository owner/name. For example, exions/merge-upstream'
required: true
branch:
description: 'This branch to merge from and to. For example, master'
description: 'Branch to merge to. For example, master'
default: 'master'

runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.upstream }}
- ${{ inputs.branch }}
using: "composite"
steps:
- run: |
git remote add -f upstream "https://github.com/${{ inputs.upstream }}.git"
git merge --ff-only upstream/${{ inputs.branch }}
git push
shell: bash
7 changes: 0 additions & 7 deletions entrypoint.sh

This file was deleted.

0 comments on commit 175997d

Please sign in to comment.