Skip to content

Commit

Permalink
changed to js version of this action
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocarvalho committed Jan 18, 2022
1 parent 60d21f0 commit fbb2332
Show file tree
Hide file tree
Showing 21 changed files with 12,828 additions and 113 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/check_if_merged.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.13.0
8 changes: 0 additions & 8 deletions Dockerfile

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ jobs:
check-if-merged:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: CareMessagePlatform/check-if-merged@v1
- uses: CareMessagePlatform/check-if-merged@v2
```
11 changes: 2 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,9 @@ inputs:
source_branch:
description: 'source branch to check or GITHUB_REF will be used'
required: false
test_run:
description: 'do not use exit code if test run'
required: false
default: 'false'
outputs:
is_merged: # id of output
description: '0 - merged | 100 not merged'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.destination_branch }}
- ${{ inputs.source_branch }}
using: 'node16'
main: 'dist/index.js'
Loading

0 comments on commit fbb2332

Please sign in to comment.