Use git submodules for gmaes #118
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: 'On Issue Opened' | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| - edited | |
| jobs: | |
| issue_response: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write # Needed to comment on issues | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - uses: actions/create-github-app-token@v1 | |
| id: app-token | |
| with: | |
| app-id: ${{ secrets.GH_APP_ID }} | |
| private-key: ${{ secrets.GH_PRIVATE_KEY }} | |
| - run: | | |
| python -m venv venv | |
| venv/bin/pip install requests googlesearch-python | |
| - run: venv/bin/python ci/scripts/issue.py -n ${{ github.event.issue.number }} -t ${{ steps.app-token.outputs.token }} |