mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-02 13:03:07 +00:00
ci: automatic bee bump (#100)
This commit is contained in:
parent
e146b8406b
commit
c033758f3d
20
.github/workflows/publish.yaml
vendored
20
.github/workflows/publish.yaml
vendored
@ -101,6 +101,26 @@ jobs:
|
||||
cd ./generator
|
||||
npm run publish:env
|
||||
|
||||
- name: Update bee version in package.json
|
||||
uses: jossef/action-set-json-field@v1
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
with:
|
||||
file: package.json
|
||||
field: engines.bee
|
||||
value: ${{ env.BEE_VERSION }}
|
||||
|
||||
- name: Create/update PR
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
uses: gr2m/create-or-update-pull-request-action@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.REPO_GHA_PAT }}
|
||||
with:
|
||||
title: "chore: update to bee ${{ env.BEE_VERSION }}"
|
||||
body: "Updated Bee version ${{ env.BEE_VERSION }}"
|
||||
branch: "bee-${{ env.BEE_VERSION }}"
|
||||
commit-message: "chore: update to new bee"
|
||||
author: "bee-worker <bee-worker@ethswarm.org>"
|
||||
|
||||
- name: Trigger Bee-js PR creation
|
||||
if: ${{ github.event_name == 'repository_dispatch' }}
|
||||
uses: peter-evans/repository-dispatch@v1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user