Module 06-text-generation-apps fails to run locally due to version incompatibility #240
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: Welcome to the Microsoft Generative AI | |
| on: | |
| # Trigger the workflow on new issue | |
| issues: | |
| types: [opened] | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| asses-issue: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add Label and thanks comment to Issue | |
| uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| const issueAuthor = context.payload.sender.login | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ['needs-review'] | |
| }) | |
| github.rest.issues.createComment({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| body: `👋 Thanks for contributing @${ issueAuthor }! We will review the issue and get back to you soon.` | |
| }) | |
| - name: Auto-assign issue | |
| uses: pozil/auto-assign-issue@v2 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| assignees: koreyspace |