Skip to content

Handle document types in json builder #1422

Handle document types in json builder

Handle document types in json builder #1422

Workflow file for this run

on:
pull_request:
paths:
- 'gems/aws-sdk-core/**/*.rb'
permissions:
contents: read
pull-requests: write
jobs:
changelog_comment_pr:
runs-on: ubuntu-latest
name: Comment when CHANGELOG entry is missing
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@934b2d2c7e653bb8c968afed5a0428617f09aa24
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on PR
if: ${{!contains(steps.changed-files.outputs.all_changed_files, 'gems/aws-sdk-core/CHANGELOG.md')}}
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
with:
message: 'You have made a change to core without a corresponding change to the CHANGELOG.md. This change will not result in a new version and will not published unless an entry is added to CHANGELOG.md.'
github-token: ${{ secrets.GITHUB_TOKEN }}