github-advanced-security[bot] commented on code in PR #41494:
URL: https://github.com/apache/beam/pull/41494#discussion_r4641934841


##########
.github/workflows/update_ml_dependency_bounds.yml:
##########
@@ -0,0 +1,108 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file distributed
+# with this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# This workflow raises the exclusive upper bounds of ML dependencies in
+# setup.py and tox.ini when PyPI has a newer stable release, and opens a pull
+# request with the result. It never merges the pull request. It does not
+# regenerate the container requirements; see update_python_dependencies.yml.
+# If an open pull request from this workflow already exists, the run is
+# skipped so that reviewer changes on its branch are not overwritten. Close
+# that pull request to get a new run.
+
+name: Update ML Dependency Bounds
+
+on:
+  schedule:
+  - cron: "0 0 1 * *"
+  workflow_dispatch:
+permissions:
+  contents: write
+  pull-requests: write
+
+concurrency:
+  group: '${{ github.workflow }} @ ${{ github.ref }}'
+  cancel-in-progress: true
+
+jobs:
+  update_ml_dependency_bounds:
+    runs-on: [self-hosted, ubuntu-24.04, main]
+    name: Update ML Dependency Bounds
+    timeout-minutes: 30
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v7
+        with:
+          persist-credentials: false
+      - name: Setup environment
+        uses: ./.github/actions/setup-environment-action
+        with:
+          python-version: "3.11"
+          # The script does not use tox.
+          tox-cache: false
+      - name: Install script dependencies
+        run: pip install packaging pyyaml pytest
+      - name: Install gh cli
+        uses: ./.github/actions/setup-gh-cli-linux

Review Comment:
   ## zizmor / 
   
   use GitHub's dedicated self-repository syntax: use '$/...' instead of './...'
   
   [Show more 
details](https://github.com/apache/beam/security/code-scanning/3542)



##########
.github/workflows/update_ml_dependency_bounds.yml:
##########
@@ -0,0 +1,108 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file distributed
+# with this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# This workflow raises the exclusive upper bounds of ML dependencies in
+# setup.py and tox.ini when PyPI has a newer stable release, and opens a pull
+# request with the result. It never merges the pull request. It does not
+# regenerate the container requirements; see update_python_dependencies.yml.
+# If an open pull request from this workflow already exists, the run is
+# skipped so that reviewer changes on its branch are not overwritten. Close
+# that pull request to get a new run.
+
+name: Update ML Dependency Bounds
+
+on:
+  schedule:
+  - cron: "0 0 1 * *"
+  workflow_dispatch:
+permissions:
+  contents: write
+  pull-requests: write
+
+concurrency:
+  group: '${{ github.workflow }} @ ${{ github.ref }}'
+  cancel-in-progress: true
+
+jobs:
+  update_ml_dependency_bounds:
+    runs-on: [self-hosted, ubuntu-24.04, main]
+    name: Update ML Dependency Bounds
+    timeout-minutes: 30
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v7
+        with:
+          persist-credentials: false
+      - name: Setup environment
+        uses: ./.github/actions/setup-environment-action

Review Comment:
   ## zizmor / 
   
   use GitHub's dedicated self-repository syntax: use '$/...' instead of './...'
   
   [Show more 
details](https://github.com/apache/beam/security/code-scanning/3541)



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