diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e80f0cc37..260158077 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,13 +66,13 @@ jobs: DEPENDENCIES=$(cat dependencies.json | jq -c '.') echo "DEPENDENCIES=$DEPENDENCIES" >> $GITHUB_ENV - - name: Create PR in digma-ui + - name: Update digma run: | curl -X POST -H "Accept: application/vnd.github.v3+json" \ -H "Authorization: token ${{ secrets.RELEASE_PAT }}" \ https://api.github.com/repos/digma-ai/digma-ui/dispatches \ -d '{ - "event_type": "update-ui-dependencies", + "event_type": "update-ui", "client_payload": { release: "'"${{ github.ref_name }}"'", dependencies: '"${{ env.DEPENDENCIES }}"' diff --git a/.github/workflows/update-jaeger.yml b/.github/workflows/update-jaeger.yml deleted file mode 100644 index e0b1730db..000000000 --- a/.github/workflows/update-jaeger.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Update Jaeger version - -on: - repository_dispatch: - types: [update-jaeger] - -jobs: - update-jaeger: - runs-on: ubuntu-latest - env: - BRANCH_NAME: update-jaeger - JAEGER_FILENAME: jaeger.json - steps: - - uses: actions/checkout@v4 - with: - token: ${{ secrets.CONTENTS_WRITE_PAT }} - - - name: Create or update version file - run: echo ${{ toJson(github.event.client_payload) }} > ${{ env.JAEGER_FILENAME }} - - - name: Commit, push changes and create PR - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git checkout -b ${{ env.BRANCH_NAME }} - git add ${{ env.JAEGER_FILENAME }} - git commit -m "Update Jaeger version" - git push origin ${{ env.BRANCH_NAME }} - gh pr create -t "Update Jaeger version" -B main -H ${{ env.BRANCH_NAME }}