Run TODO-or-not #35
Workflow file for this run
This file contains 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: Run TODO-or-not | |
on: | |
workflow_dispatch: | |
jobs: | |
run_todoon: | |
runs-on: ubuntu-latest | |
environment: todo-or-not-1 | |
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 typer | |
python -m pip install -i https://test.pypi.org/simple/ todo-or-not==0.7.12b0 | |
- name: Generate GH Token | |
id: generate-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: 853479 | |
private-key: ${{ secrets.APP_PEM }} | |
- name: Run TODO-or-not | |
env: | |
GH_TOKEN: ${{ steps.generate-token.outputs.token }} | |
run: | | |
echo "** PWD:" | |
pwd | |
echo "** LS -A:" | |
ls -a | |
todoon --silent |