AI Coach opens and analyzes the wrong issue when invoked from Issue Board #302
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: Add items to GitHub Project | |
| on: | |
| issues: | |
| types: [opened, reopened] | |
| pull_request: | |
| types: [opened, reopened] | |
| jobs: | |
| add-to-project: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Add to project | |
| if: ${{ vars.GH_PROJECT_URL != '' }} | |
| uses: actions/add-to-project@v0.6.0 | |
| with: | |
| project-url: ${{ vars.GH_PROJECT_URL }} | |
| github-token: ${{ secrets.GH_PROJECTS_TOKEN || github.token }} | |
| - name: Skip project automation (not configured) | |
| if: ${{ vars.GH_PROJECT_URL == '' }} | |
| run: echo "Skipping add-to-project because GH_PROJECT_URL is not configured." |