mumrah commented on code in PR #17204:
URL: https://github.com/apache/kafka/pull/17204#discussion_r1769451414


##########
.github/workflows/ci-complete.yml:
##########
@@ -118,3 +118,16 @@ jobs:
           description: 'The build scan was successfully published'
           context: 'Gradle Build Scan / Java ${{ matrix.java }}'
           state: 'success'
+
+  update-cached-tag:
+    # Only run this job if the previous workflow run was successful
+    if: github.event.workflow_run.conclusion == 'success'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Update trunk-cached branch with trunk
+        run: |
+          git switch trunk-cached || git switch -c trunk-cached

Review Comment:
   Do we need to fetch trunk-cached first? Or does the checkout step fetch 
everything?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to