Skip to content

chore(deps): bump github.com/google/cel-go from 0.28.0 to 0.29.0 in /deploy/inference-gateway/epp #41

chore(deps): bump github.com/google/cel-go from 0.28.0 to 0.29.0 in /deploy/inference-gateway/epp

chore(deps): bump github.com/google/cel-go from 0.28.0 to 0.29.0 in /deploy/inference-gateway/epp #41

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed 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.
name: PR Reminder Full CI Comment Bot
on:
pull_request_target:
types: [opened]
jobs:
pr_reminder:
if: ${{ github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name }}
environment: external_collaborator
permissions:
issues: write
runs-on: ubuntu-latest
steps:
- name: Check for trusted contributor
id: contributor_check
env:
APPROVED_EXTERNAL_CONTRIBUTORS: ${{ secrets.APPROVED_EXTERNAL_CONTRIBUTORS }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
run: |
if ! echo "$APPROVED_EXTERNAL_CONTRIBUTORS" | jq -e 'if type == "array" then . else error("not an array") end' > /dev/null 2>&1; then
echo "Warning: APPROVED_EXTERNAL_CONTRIBUTORS is not a valid JSON array." >&2
echo "is_trusted=false" >> "$GITHUB_OUTPUT"
exit 0
fi
if echo "$APPROVED_EXTERNAL_CONTRIBUTORS" | jq -e --arg author "$PR_AUTHOR" 'any(.[]; . == $author)' > /dev/null; then
echo "Author $PR_AUTHOR is a trusted contributor."
echo "is_trusted=true" >> "$GITHUB_OUTPUT"
else
echo "Author $PR_AUTHOR is not a trusted contributor."
echo "is_trusted=false" >> "$GITHUB_OUTPUT"
fi
- name: Reminder to run full CI on PR
if: steps.contributor_check.outputs.is_trusted != 'true'
uses: actions/github-script@v7
env:
REPOSITORY: ${{ github.repository }}
CONTRIBUTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const { REPOSITORY, CONTRIBUTOR } = process.env
github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `👋 Hi ${CONTRIBUTOR}! Thank you for contributing to ${REPOSITORY}.\n\n` +
'Just a reminder: The `NVIDIA Test Github Validation` CI runs an essential subset of the testing framework to quickly catch errors.' +
'Your PR reviewers may elect to test the changes comprehensively before approving your changes.\n\n' +
'🚀'
})
- name: Add contribution labels to PR
uses: actions/github-script@v7
env:
IS_TRUSTED: ${{ steps.contributor_check.outputs.is_trusted }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const labels = ['external-contribution']
if (process.env.IS_TRUSTED === 'true') {
labels.push('trusted-contributor')
}
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels
})