File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1616 - name : Checkout repository
1717 uses : actions/checkout@v2
1818 with :
19- fetch-depth : 0
19+ fetch-depth : 0 # Esto es necesario para acceder al historial completo
2020
2121 - name : Set up Node.js
2222 uses : actions/setup-node@v2
@@ -46,16 +46,17 @@ jobs:
4646 BADGE_CONTENT=$(cat coverage/coverage_badge.md)
4747 sed -i "s|!\[Coverage\](.*)|${BADGE_CONTENT}|" README.md
4848
49+ - name : Show repository information
50+ run : |
51+ echo "Current Repository: $(git remote -v)"
52+
4953 - name : Commit and push changes
5054 run : |
5155 git config --local user.email "${{ secrets.GIT_USER_EMAIL }}"
5256 git config --local user.name "${{ secrets.GIT_USER_NAME }}"
5357 git add README.md
5458 git commit -m "Update coverage badge"
55- git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/OWNER/REPO.git HEAD:update-coverage-badge
56-
57- env :
58- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59+ git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Mipmipp/localstack-ts-api-gateway-lambda-dynamodb-crud-example.git HEAD:update-coverage-badge
5960
6061 - name : Create Pull Request
6162 uses : peter-evans/create-pull-request@v3
You can’t perform that action at this time.
0 commit comments