mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 06:30:32 +00:00
ci: Improve create-pull-request
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -214,8 +214,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: read
|
||||||
pull-requests: write
|
pull-requests: write # for gh pr review --approve
|
||||||
steps:
|
steps:
|
||||||
- uses: taiki-e/checkout-action@v1
|
- uses: taiki-e/checkout-action@v1
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
@@ -231,13 +231,12 @@ jobs:
|
|||||||
- id: diff
|
- id: diff
|
||||||
run: tools/ci/manifest.sh
|
run: tools/ci/manifest.sh
|
||||||
if: github.repository_owner == 'taiki-e' && (github.event_name == 'schedule' || github.event_name == 'push' && github.ref == 'refs/heads/main')
|
if: github.repository_owner == 'taiki-e' && (github.event_name == 'schedule' || github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||||
- name: Create PR
|
- id: create-pull-request
|
||||||
id: create-pull-request
|
uses: peter-evans/create-pull-request@v7
|
||||||
uses: peter-evans/create-pull-request@v6
|
|
||||||
with:
|
with:
|
||||||
title: Update manifest
|
title: Update manifest
|
||||||
body: |
|
body: |
|
||||||
Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request).
|
Auto-generated by CI using [create-pull-request](https://github.com/peter-evans/create-pull-request).
|
||||||
|
|
||||||
This will be auto-merged when CI has passed because this is an auto-generated PR in a defined format and is usually considered no additional review is required.
|
This will be auto-merged when CI has passed because this is an auto-generated PR in a defined format and is usually considered no additional review is required.
|
||||||
branch: update-manifest
|
branch: update-manifest
|
||||||
|
|||||||
Reference in New Issue
Block a user