-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
91 changed files
with
4,214 additions
and
2,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,22 @@ jobs: | |
fetch: | ||
name: Fetch Zenoh's lockfile | ||
runs-on: ubuntu-latest | ||
outputs: | ||
zenoh-head-hash: ${{ steps.info.outputs.head-hash }} | ||
zenoh-head-date: ${{ steps.info.outputs.head-date }} | ||
steps: | ||
- name: Checkout Zenoh | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: eclipse-zenoh/zenoh | ||
ref: ${{ inputs.branch }} | ||
|
||
- id: info | ||
name: Get HEAD info | ||
run: | | ||
echo "head-hash=$(git log -1 --format=%h)" >> $GITHUB_OUTPUT | ||
echo "head-date=$(git log -1 --format=%ad)" >> $GITHUB_OUTPUT | ||
- name: Upload lockfile | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -94,8 +103,14 @@ jobs: | |
# NOTE: If there is a pending PR, this action will simply update it with a forced push. | ||
uses: peter-evans/create-pull-request@v6 | ||
with: | ||
title: Sync lockfile with Zenoh's | ||
body: Automated synchronization of the Cargo lockfile with Zenoh. This is done to ensure plugin ABI compatibility. | ||
title: Sync `Cargo.lock` with `eclipse-zenoh/zenoh@${{ needs.fetch.outputs.zenoh-head-hash }}` from `${{ needs.fetch.outputs.zenoh-head-date }}`" | ||
body: > | ||
This pull request synchronizes ${{ matrix.dependant }}'s Cargo lockfile with zenoh's. | ||
This is done to ensure ABI compatibility between Zenoh applications, backends & plugins. | ||
- **Zenoh HEAD hash**: eclipse-zenoh/zenoh@${{ needs.fetch.outputs.zenoh-head-hash }} | ||
- **Zenoh HEAD date**: ${{ needs.fetch.outputs.zenoh-head-date }} | ||
- **Workflow run**: [${{ github.run_id }}](https://github.com/eclipse-zenoh/zenoh/actions/runs/${{ github.run_id }}) | ||
commit-message: "chore: Sync Cargo lockfile with Zenoh's" | ||
committer: eclipse-zenoh-bot <[email protected]> | ||
author: eclipse-zenoh-bot <[email protected]> | ||
|
@@ -107,6 +122,10 @@ jobs: | |
|
||
- name: Enable auto merge for the pull request | ||
if: steps.cpr.outputs.pull-request-operation == 'created' | ||
run: gh pr merge -R "eclipse-zenoh/${{ matrix.dependant }}" --merge --auto "${{ steps.cpr.outputs.pull-request-number }}" | ||
run: > | ||
gh pr merge "${{ steps.cpr.outputs.pull-request-number }}" | ||
--repo "eclipse-zenoh/${{ matrix.dependant }}" | ||
--squash | ||
--auto | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_TOKEN_WORKFLOW }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ | |
.vscode | ||
|
||
cargo-timing*.html | ||
|
||
ci/valgrind-check/*.log |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.