Skip to content

Bump the all-dependencies group with 2 updates #487

Bump the all-dependencies group with 2 updates

Bump the all-dependencies group with 2 updates #487

Workflow file for this run

# MIT License
#
# Copyright (c) 2023 Matheus Pimenta
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
on: [pull_request]
concurrency:
group: continuous-integration # lock for shared CI resources
cancel-in-progress: false
jobs:
pull-request:
runs-on: ubuntu-latest
environment: pull-request
permissions:
contents: read
id-token: write
packages: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci-login/
with:
google-service-account-name: pull-request
github-token: ${{ secrets.GITHUB_TOKEN }}
- id: check-new-releases
uses: ./.github/actions/check-new-releases/
- name: Prepare New Releases Check PR Comment
env:
RELEASE_CONTAINER: ${{ steps.check-new-releases.outputs.release-container }}
RELEASE_HELM: ${{ steps.check-new-releases.outputs.release-helm }}
run: |
touch new-releases-check.txt
if [ "$RELEASE_CONTAINER" == "yes" ]; then
echo "This pull request will release version $(cat container-version.txt) of the Container." >> new-releases-check.txt
fi
if [ "$RELEASE_CONTAINER" == "yes" ] && [ "$RELEASE_HELM" == "yes" ]; then
echo "" >> new-releases-check.txt
fi
if [ "$RELEASE_HELM" == "yes" ]; then
echo "This pull request will release version $(cat helm-version.txt) of the Helm Chart." >> new-releases-check.txt
fi
if [ "$RELEASE_CONTAINER" == "no" ] && [ "$RELEASE_HELM" == "no" ]; then
echo "No version releases in this pull request." >> new-releases-check.txt
fi
- name: Comment New Releases Check on PR
uses: ./.github/actions/comment-status/
with:
title: New Releases Check
message-file: new-releases-check.txt
- uses: ./.github/actions/ci-checks/