diff --git a/README.md b/README.md index c806ed1..81febbb 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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' ``` diff --git a/entrypoint.sh b/entrypoint.sh index 929f45c..8319f9c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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