Skip to content

Add documentation for Scala Zio #1771

Add documentation for Scala Zio

Add documentation for Scala Zio #1771

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/[email protected]
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.