diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9a9d64c..c13672e 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -9,8 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master + with: + fetch-depth: 0 - name: git-pr-release - uses: bakunyo/git-pr-release-action@master + uses: bakunyo/git-pr-release-action@develop env: GIT_PR_RELEASE_BRANCH_STAGING: develop GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index e431518..0fafbd1 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master + with: + fetch-depth: 0 - name: git-pr-release uses: bakunyo/git-pr-release-action@master env: diff --git a/entrypoint.sh b/entrypoint.sh index e33362c..3f8dcd7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,5 +2,4 @@ set -eu export GIT_PR_RELEASE_TOKEN=$GITHUB_TOKEN -git remote set-url origin https://$GITHUB_TOKEN:x-oauth-basic@github.com/$GITHUB_REPOSITORY.git git-pr-release