Credential scope support #719
Workflow file for this run
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
on: | |
pull_request: | |
paths: | |
- 'gems/aws-sdk-core/**/*.rb' | |
jobs: | |
changelog_comment_pr: | |
runs-on: ubuntu-latest | |
name: Comment when Changelog is missing | |
steps: | |
- id: file_changes | |
uses: trilom/file-changes-action@v1 | |
with: | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Comment PR | |
if: ${{!contains(steps.file_changes.outputs.files_modified, 'gems/aws-sdk-core/CHANGELOG.md')}} | |
uses: thollander/actions-comment-pull-request@main | |
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 }} |