Skip to content

Public docs for FromDateTime() and ToDateTime() #31

Public docs for FromDateTime() and ToDateTime()

Public docs for FromDateTime() and ToDateTime() #31

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
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: .*\attribute-dictionary.json
trustedAuthors: nr-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 [source.datanerd.us/docs-eng/attribute-dictionary](https://source.datanerd.us/docs-eng/attribute-dictionary)