Check for new SDK releases #517
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check for new SDK releases | |
| on: | |
| schedule: | |
| - cron: '0 * * * *' | |
| workflow_dispatch: | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: false | |
| jobs: | |
| automation: | |
| uses: ./.github/workflows/automation.yml | |
| permissions: | |
| contents: read | |
| secrets: | |
| OTELBOT_DOTNET_CONTRIB_PRIVATE_KEY: ${{ secrets.OTELBOT_DOTNET_CONTRIB_PRIVATE_KEY }} | |
| check-for-core-version-update: | |
| name: Check for SDK releases | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 10 | |
| if: (github.event_name != 'schedule' || github.event.repository.fork == false) && needs.automation.outputs.enabled | |
| needs: automation | |
| permissions: | |
| actions: write # Needed to trigger the core-version-update workflow | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| filter: 'tree:0' | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Check for SDK releases and trigger update workflow | |
| shell: pwsh | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: .\build\scripts\check-for-new-sdk-releases.ps1 |