liferoad commented on code in PR #34476:
URL: https://github.com/apache/beam/pull/34476#discussion_r2029872077


##########
.github/workflows/run_rc_validation_go_wordcount.yml:
##########
@@ -0,0 +1,172 @@
+name: Validate Go SDK Release Candidate
+
+on:
+  workflow_dispatch:
+    inputs:
+      rc_tag:
+        description: 'Beam RC Tag (e.g., v2.59.0-RC1)'
+        required: true
+        type: string
+      container_tag:
+        description: 'Beam Go SDK Container Tag (e.g., 2.59.0rc1)'
+        required: true
+        type: string
+
+# This allows a subsequently queued workflow run to interrupt previous runs
+concurrency:
+  group: '${{ github.workflow }} @ ${{ github.event.inputs.rc_tag }}' # Group 
by RC tag
+  cancel-in-progress: true
+
+# Setting explicit permissions (copied from Java Mobile Gaming workflow)
+permissions:
+  actions: write
+  pull-requests: write
+  checks: write
+  contents: read
+  deployments: read
+  id-token: write # Note: Likely not needed for self-hosted runners without WIF
+  issues: write
+  discussions: read
+  packages: read
+  pages: read
+  repository-projects: read
+  security-events: read
+  statuses: read
+
+env:
+  GCS_OUTPUT_PREFIX: gs://rc-validation-migration-tests/go-wordcount # 
Constant output prefix
+  GCP_PROJECT_ID: apache-beam-testing
+  GCP_REGION: us-central1
+  GCS_TEMP_LOCATION: gs://rc-validation-migration-tests/temp/
+  GCS_INPUT_PATH: gs://apache-beam-samples/shakespeare/kinglear.txt
+
+jobs:
+  setup:
+    runs-on: self-hosted
+    outputs:
+      rc_tag: ${{ github.event.inputs.rc_tag }}
+      container_tag: ${{ github.event.inputs.container_tag }}
+    steps:
+      - name: Checkout repository
+        uses: actions/checkout@v4
+
+      - name: Set up environment
+        uses: ./.github/actions/setup-environment-action
+        with:
+          go-version: default, otherwise remove if default is 1.21

Review Comment:
   fixed



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to