mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 02:41:55 +01:00
Merge pull request #575 from flatcar-linux/dongsu/github-action-rust-body
.github: improve body text of PR for dev-lang/rust
This commit is contained in:
commit
0bdb485bea
@ -29,7 +29,7 @@ popd >/dev/null || exit
|
|||||||
|
|
||||||
popd >/dev/null || exit
|
popd >/dev/null || exit
|
||||||
|
|
||||||
generate_patches dev-lang rust Rust
|
generate_patches dev-lang rust dev-lang/rust
|
||||||
|
|
||||||
apply_patches
|
apply_patches
|
||||||
|
|
||||||
|
|||||||
@ -30,6 +30,7 @@ jobs:
|
|||||||
VERSION_NEW: ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
VERSION_NEW: ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
||||||
run: .github/workflows/rust-apply-patch.sh
|
run: .github/workflows/rust-apply-patch.sh
|
||||||
- name: Create pull request for main
|
- name: Create pull request for main
|
||||||
|
id: create-pull-request
|
||||||
uses: peter-evans/create-pull-request@v2
|
uses: peter-evans/create-pull-request@v2
|
||||||
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
if: steps.apply-patch-main.outputs.UPDATE_NEEDED == 1
|
||||||
with:
|
with:
|
||||||
@ -38,9 +39,12 @@ jobs:
|
|||||||
branch: rust-${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}-main
|
branch: rust-${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}-main
|
||||||
author: Flatcar Buildbot <buildbot@flatcar-linux.org>
|
author: Flatcar Buildbot <buildbot@flatcar-linux.org>
|
||||||
committer: Flatcar Buildbot <buildbot@flatcar-linux.org>
|
committer: Flatcar Buildbot <buildbot@flatcar-linux.org>
|
||||||
title: Upgrade Rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
title: Upgrade dev-lang/rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
||||||
commit-message: Upgrade Rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
commit-message: Upgrade dev-lang/rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
||||||
body: Upgrade Rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
body: |
|
||||||
|
Upgrade dev-lang/rust in main from ${{ steps.apply-patch-main.outputs.VERSION_OLD }} to ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}
|
||||||
|
|
||||||
|
This PR should be merged together with a corresponding PR in portage-stable for `virtual/rust` ${{ steps.fetch-latest-release.outputs.VERSION_MAIN }}.
|
||||||
labels: main
|
labels: main
|
||||||
- name: Send repository dispatch to portage-stable
|
- name: Send repository dispatch to portage-stable
|
||||||
uses: peter-evans/repository-dispatch@v1.0.0
|
uses: peter-evans/repository-dispatch@v1.0.0
|
||||||
@ -48,4 +52,5 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.FLATCAR_PORTAGE_STABLE_ACCESS_TOKEN }}
|
token: ${{ secrets.FLATCAR_PORTAGE_STABLE_ACCESS_TOKEN }}
|
||||||
repository: flatcar-linux/portage-stable
|
repository: flatcar-linux/portage-stable
|
||||||
event-type: cargo-pull-request-main
|
event-type: rust-pull-request-main
|
||||||
|
client-payload: '{"coreos-overlay-pull-request-number": "${{ steps.create-pull-request.outputs.pull-request-number }}"}'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user