Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

Commit

Permalink
Update entrypoint.sh - remove unnecesary repository cloning (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBrenner authored Jan 11, 2021
1 parent 9634178 commit 9141a81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
id: create_release
uses: actions/create-release@latest
Expand All @@ -55,8 +53,6 @@ If your `package.json` isn't available in root, you can pass the directory of th
- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog
env:
REPO: ${{ github.repository }}
with:
package-dir: 'root/to/my/package.json'
```
Expand Down
6 changes: 0 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#!/bin/sh -l
# shellcheck disable=SC2039

git clone --quiet https://github.com/"$REPO"

if [ "$REPO" = "ScottBrenner/generate-changelog-action" ]; then
cd generate-changelog-action || exit
fi

if [ "$1" ] && [ "$1" != "package.json" ]; then
cp "$1" package.json
fi
Expand Down

0 comments on commit 9141a81

Please sign in to comment.