Skip to content

Data: Rest Api Specs - regenerating based on 77721c4eda0ac9df34288cb53e7e159d32bce25a #294

Data: Rest Api Specs - regenerating based on 77721c4eda0ac9df34288cb53e7e159d32bce25a

Data: Rest Api Specs - regenerating based on 77721c4eda0ac9df34288cb53e7e159d32bce25a #294

---
name: Detect changes to the API Definitions (Resource Manager)
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- 'api-definitions/**' # to detect changes when the API Definitions are updated
- 'scripts/automation-determine-changes-to-api-definitions.sh' # to handle changes to the script
- 'tools/data-api/**' # to detect changes when the Data API is updated
- 'tools/data-api-differ/**' # to detect changes when the Data API Differ is updated
jobs:
detect-changes-to-the-api-definitions:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: ./.go-version
- name: Detect Changes
run: |
./scripts/automation-determine-changes-to-api-definitions.sh resource-manager outputs/
- name: Post Comment containing Breaking Changes
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
filePath: outputs/resource-manager-breaking-changes.md
- name: Post Comment containing Changes
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
filePath: outputs/resource-manager-changes.md
- name: Post Comment with New Static Identifiers
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
with:
filePath: outputs/resource-manager-static-identifiers.md