Added todo test
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
name: Runner Isolation Check
|
name: Runner Isolation Check
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
isolation-test:
|
isolation-test:
|
||||||
|
|||||||
33
.gitea/workflows/test-todo-issue.yaml
Normal file
33
.gitea/workflows/test-todo-issue.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: Create issues from TODOs
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
importAll:
|
||||||
|
default: false
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
description: Enable, if you want to import all TODOs. Runs on checked out branch! Only use if you're sure what you are doing.
|
||||||
|
# push:
|
||||||
|
# branches: # do not set multiple branches, todos might be added and then get referenced by themselves in case of a merge
|
||||||
|
# - main
|
||||||
|
# - master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
repository-projects: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
todos:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Run Issue Bot
|
||||||
|
uses: juulsn/todo-issue@main
|
||||||
|
with:
|
||||||
|
excludePattern: '^(node_modules/)'
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
6
src/example.py
Normal file
6
src/example.py
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
def main():
|
||||||
|
print("Hello, world!")
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
Reference in New Issue
Block a user