ai-provider-api-change #139
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: AI Provider API Changes | |
| on: | |
| repository_dispatch: | |
| types: [ai-provider-api-change] | |
| jobs: | |
| create-issue: | |
| name: 'Create Issue for Provider API Change' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/create-github-app-token@v2 | |
| id: app-token | |
| with: | |
| app-id: ${{ vars.VERCEL_AI_SDK_GITHUB_APP_CLIENT_ID }} | |
| private-key: ${{ secrets.VERCEL_AI_SDK_GITHUB_APP_PRIVATE_KEY_PKCS8 }} | |
| - name: Create issues | |
| uses: octokit/[email protected] | |
| with: | |
| route: POST /repos/{owner}/{repo}/issues | |
| owner: vercel | |
| repo: ai | |
| title: | | |
| 🤖 Provider API update - ${{ github.event.client_payload.release.tag_name }} | |
| body: | | |
| | | |
| ${{ github.event.client_payload.release.body }} | |
| ${{ github.event.client_payload.release.html_url }} | |
| labels: '["maintenance"]' | |
| env: | |
| GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} |