-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add beta releasy to fuels-rs to track fuel-core (#1154)
## Description This PR adds beta version of `releasy` which will create `upgrade/fuel-core` branch and track changes happening in the fuel-core. This way any commits that merged to fuel-core which will be breaking fuels-rs once released, will be catched by the CI of that branch. This is for testing, we will install this to all repos once we are sure that everything works nicely. Co-authored-by: hal3e <[email protected]> Co-authored-by: Oleksii Filonenko <[email protected]> Co-authored-by: Green Baneling <[email protected]>
- Loading branch information
1 parent
7a65dd0
commit d0765ff
Showing
3 changed files
with
45 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
on: | ||
repository_dispatch: | ||
types: [new-commit-to-dependency] | ||
|
||
jobs: | ||
new_commit_to_dependency: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
git clone https://github.com/FuelLabs/releasy && cd releasy && git checkout kayagokalp/releasy-handle && cd .. | ||
cargo install --path ./releasy/releasy-handler | ||
releasy-handler --event new-commit-to-dependency --event-repo-name ${{ github.event.client_payload.repo.name }} --event-repo-owner ${{ github.event.client_payload.repo.owner }} --event-commit-hash ${{ github.event.client_payload.details.commit_hash}} --path ./.github/workflows/repo-plan.toml |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
new_commit_to_self: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
git clone https://github.com/FuelLabs/releasy && cd releasy && git checkout kayagokalp/releasy-handle && cd .. | ||
cargo install --path ./releasy/releasy-handler | ||
releasy-handler --event new-commit-to-self --event-repo-name fuels-rs --event-repo-owner FuelLabs --path ./.github/workflows/repo-plan.toml --event-commit-hash ${GITHUB_SHA} |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[current-repo] | ||
name = "fuels-rs" | ||
owner = "FuelLabs" | ||
|
||
[repo.fuels-rs.details] | ||
name = "fuels-rs" | ||
owner = "FuelLabs" | ||
|
||
[repo.fuel-core.details] | ||
name = "fuel-core" | ||
owner = "FuelLabs" | ||
|
||
[repo.fuels-rs] | ||
dependencies = ["fuel-core"] |