Skip to content

Merge pull request #318 from Start-Out/dev/contribute #90

Merge pull request #318 from Start-Out/dev/contribute

Merge pull request #318 from Start-Out/dev/contribute #90

Workflow file for this run

name: Generate issues with TODO-or-not
on:
workflow_dispatch:
pull_request:
types:
- opened
- edited
- reopened
branches:
- dev/staging
push:
branches:
- dev/staging
jobs:
run_todoon:
runs-on: ubuntu-latest
environment: testing
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11.7
uses: actions/setup-python@v3
with:
python-version: "3.11.7"
- name: Install TODO-or-not
run: |
python -m pip install --upgrade pip
python -m pip install todo-or-not
- name: Generate GH Token for todoon app
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: 853479
private-key: ${{ secrets.TODOON_CLIENT_PEM }}
- name: Run TODO-or-not
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
MAXIMUM_ISSUES_GENERATED: 10
run: |
echo "Generate GitHub issues for each problem found, but don't fail the workflow"
todoon -is