pabloem commented on code in PR #39811:
URL: https://github.com/apache/beam/pull/39811#discussion_r3810270925


##########
.github/workflows/beam_Infrastructure_UsersPermissions.yml:
##########
@@ -44,11 +44,20 @@ jobs:
     runs-on: [self-hosted, ubuntu-24.04, main]
     timeout-minutes: 30
     steps:
-      - name: Checkout code
+      - name: Checkout secure master code
         uses: actions/checkout@v7
         with:
-          ref: ${{ github.event.pull_request.merged == true && github.base_ref 
|| github.event.pull_request.head.sha }}
+          ref: ${{ github.base_ref || github.ref }}
           persist-credentials: false
+      - name: Download users.yml directly from PR fork
+        env:
+          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          PR_BRANCH_REF: ${{ github.event.pull_request.head.ref }}
+        run: |
+          echo "[DevSecOps] Descargando de forma segura users.yml desde el 
Pull Request..."

Review Comment:
   english only please



-- 
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