[backport -> release/3.4.x] chore(deps): bump lua-resty-events from 0.2.1 to 0.3.0 #7607
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Changelog Requirement | |
on: | |
pull_request: | |
types: [ opened, synchronize, labeled, unlabeled ] | |
paths: | |
- 'kong/**' | |
- '**.rockspec' | |
- '.requirements' | |
jobs: | |
require-changelog: | |
if: ${{ !contains(github.event.*.labels.*.name, 'skip-changelog') }} | |
name: Requires changelog | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: computes changed files | |
id: changelog-check | |
uses: tj-actions/changed-files@2d756ea4c53f7f6b397767d8723b3a10a9f35bf2 # 44.0.0 | |
with: | |
files: 'changelog/unreleased/**/*.yml' | |
- name: asserts changelog added | |
run: > | |
if [ "${{ steps.changelog-check.outputs.added_files_count }}" = "0" ]; then | |
echo "Should contain at least one changelog file in changelog/unreleased/*/ directory" | |
exit 1 | |
fi |