Skip to content

Commit

Permalink
Merge pull request #74 from Nordix/add-missing-repo-to-workflow
Browse files Browse the repository at this point in the history
Fix release workflow by adding the missing repository to the chain of release jobs
  • Loading branch information
ljkiraly authored Jan 21, 2025
2 parents d978cc1 + fd4f43d commit c61f9bf
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,22 @@ jobs:
tag: ${{ needs.get-tag.outputs.tag }}
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

release-dependent-repositories:
name: Release dependent repositories
runs-on: ubuntu-latest
needs: get-tag
steps:
- name: Checkout networkservicemesh/cmd-dashboard-ui
uses: actions/checkout@v4
with:
path: networkservicemesh/cmd-dashboard-ui
repository: networkservicemesh/cmd-dashboard-ui
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

- name: Push update to the cmd-dashboard-ui
working-directory: networkservicemesh/cmd-dashboard-ui
run: |
echo Starting to update repository cmd-backend-ui
git checkout -b ${{ github.event.workflow_run.head_branch }}
git push -f origin ${{ github.event.workflow_run.head_branch }}

0 comments on commit c61f9bf

Please sign in to comment.