@@ -10,19 +10,19 @@ permissions:
1010jobs :
1111 automerge :
1212 runs-on : ubuntu-latest
13- if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'Swatinem/rust-cache'
13+ # if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'Swatinem/rust-cache'
1414 steps :
15- - name : Fetch metadata
16- id : metadata
17- uses : dependabot/fetch-metadata@v2
18- with :
19- github-token : " ${{ secrets.GITHUB_TOKEN }}"
15+ # - name: Fetch metadata
16+ # id: metadata
17+ # uses: dependabot/fetch-metadata@v2
18+ # with:
19+ # github-token: "${{ secrets.GITHUB_TOKEN }}"
2020 - uses : actions/checkout@v5
2121 with :
2222 fetch-depth : 2
2323 # if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
2424 - name : Check if package-lock.json has been changed
25- if : steps.metadata.outputs.update-type == 'version-update:semver-patch'
25+ # if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
2626 id : npm
2727 env :
2828 PR_URL : ${{github.event.pull_request.html_url}}
@@ -46,15 +46,15 @@ jobs:
4646 npm run prepare
4747 if ! git diff --quiet dist/*/index.js; then
4848 echo "dist/ changed, amending last commit"
49- git config user.email "swatinem@swatinem.de"
50- git config user.name "Arpad Borsos"
51- git add -u -- dist/
52- git commit --amend --no-edit --no-reset-author
53- git push --force-with-lease origin HEAD
49+ export $( git log -1 --pretty=format:'GIT_COMMITTER_NAME=%cn GIT_COMMITTER_EMAIL=%ce')
50+ # git add -u -- dist/
51+ git commit --amend --no-edit --no-reset-author -- dist/*/index.js
52+ git show --name-only --pretty=
53+ # git push --force-with-lease origin HEAD
5454 fi
55- - name : Auto-merge Patch PRs
56- if : steps.metadata.outputs.update-type == 'version-update:semver-patch'
57- run : gh pr merge --auto --merge "$PR_URL"
58- env :
59- PR_URL : ${{github.event.pull_request.html_url}}
60- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
55+ # - name: Auto-merge Patch PRs
56+ # if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
57+ # run: gh pr merge --auto --merge "$PR_URL"
58+ # env:
59+ # PR_URL: ${{github.event.pull_request.html_url}}
60+ # GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
0 commit comments