Skip to content

build(deps): bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 #672

build(deps): bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0

build(deps): bump github.com/hashicorp/go-version from 1.8.0 to 1.9.0 #672

Workflow file for this run

# Checks if a file has been committed under the .changes/unreleased directory
#
# Skip PRs labeled with 'dependencies'
on:
pull_request:
branches:
- main
- pre-release
name: Check if changelog entry exists
jobs:
changelog_existence:
name: Check if changelog entry exists
if: "!contains(github.event.pull_request.labels.*.name, 'dependencies')"
runs-on: ubuntu-latest
steps:
- name: Check if changelog file was added
# https://github.com/marketplace/actions/paths-changes-filter
# For each filter, it sets output variable named by the filter to the text:
# 'true' - if any of changed files matches any of filter rules
# 'false' - if none of changed files matches any of filter rules
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: changelog_check
with:
filters: |
exists:
- '.changes/unreleased/**.yaml'
- name: Fail job if changelog entry is missing and required
if: steps.changelog_check.outputs.exists == 'false'
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: core.setFailed('Changelog entry required to merge.')