| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8a61aaa commit 69cb44e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -284,6 +284,10 @@ jobs: | |||
| 284 | 284 | tail -n1 temp-output | grep "NEW_VERSION=" >> "$GITHUB_ENV" || true | |
| 285 | 285 | rm temp-output | |
| 286 | 286 | steps: | |
| 287 | + - name: Setup Git config | ||
| 288 | + run: | | ||
| 289 | + git config --global user.name "Node.js GitHub Bot" | ||
| 290 | + git config --global user.email "github-bot@iojs.org" | ||
| 287 | 291 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| 288 | 292 | if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id | |
| 289 | 293 | with: | |
@@ -301,17 +305,15 @@ jobs: | |||
| 301 | 305 | if: env.COMMIT_MSG == '' && (github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id) | |
| 302 | 306 | run: | | |
| 303 | 307 | echo "COMMIT_MSG=${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}" >> "$GITHUB_ENV" | |
| 304 | - - uses: gr2m/create-or-update-pull-request-action@86ec1766034c8173518f61d2075cc2a173fb8c97 # v1.9.4 | ||
| 308 | + - uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7.0.5 | ||
| 305 | 309 | if: github.event_name == 'schedule' || inputs.id == 'all' || inputs.id == matrix.id | |
| 306 | 310 | # Creates a PR or update the Action's existing PR, or | |
| 307 | 311 | # no-op if the base branch is already up-to-date. | |
| 308 | - env: | ||
| 309 | - GITHUB_TOKEN: ${{ secrets.GH_USER_TOKEN }} | ||
| 310 | 312 | with: | |
| 311 | - author: Node.js GitHub Bot <github-bot@iojs.org> | ||
| 312 | - body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}. | ||
| 313 | + token: ${{ secrets.GH_USER_TOKEN }} | ||
| 313 | 314 | branch: actions/tools-update-${{ matrix.id }} # Custom branch *just* for this Action. | |
| 315 | + delete-branch: true | ||
| 314 | 316 | commit-message: ${{ env.COMMIT_MSG }} | |
| 315 | 317 | labels: ${{ matrix.label }} | |
| 316 | 318 | title: '${{ matrix.subsystem }}: update ${{ matrix.id }} to ${{ env.NEW_VERSION }}' | |
| 317 | - update-pull-request-title-and-body: true | ||
| 319 | + body: This is an automated update of ${{ matrix.id }} to ${{ env.NEW_VERSION }}. | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments