Skip to content
name: Auto trigger AAS version bump
on:
release:
types: [published]
jobs:
trigger_aas_release:
runs-on: ubuntu-latest
permissions:
contents: read
actions: read # read secrets
steps:
- name: Trigger AAS release
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: Bearer ${{ secrets.GH_EXTERNAL_TOKEN }}" \
https://api.github.com/repos/DataDog/datadog-aas-extension/dispatches \
-d '{"event_type": "dd-trace-dotnet-release", "client_payload": {"is_prerelease":"${{github.event.release.prerelease}}", "version":"${{github.event.release.tag_name}}" } }'