Skip to content

fix(serverless): deleting lambda containerized images docs #1711

fix(serverless): deleting lambda containerized images docs

fix(serverless): deleting lambda containerized images docs #1711

name: Attribute dictionary updates
on:
pull_request:
branches:
- develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
deny-attribute-dictionary-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prevent file change
uses: xalvarez/prevent-file-change-action@v1.5.1
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: .*attribute-dictionary\.json$
trustedAuthors: svc-docs-eng-opensource-bot
- name: Comment if JSON file is modified
if: failure()
uses: thollander/actions-comment-pull-request@v2
with:
message: |
> [!WARNING]
> `attribute-dictionary.json` is an autogenerated file.
>
> Changes to attribute dictionary should be made through the `attribute-dictionary` repo in GHE.