diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..05f9a9c --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,16 @@ +name: "Workflow" +on: ["push"] +jobs: + build: + runs-on: "ubuntu-latest" + steps: + - uses: "actions/checkout@master" + - name: "TODO to Issue" + uses: "alstr/todo-to-issue-action@master" + with: + REPO: ${{ github.repository }} + BEFORE: ${{ github.event.before }} + SHA: ${{ github.sha }} + TOKEN: ${{ secrets.GITHUB_TOKEN }} + LABEL: "# TODO" + id: "todo" diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..9573a89 --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +name: "TODO to Issue" +description: "Converts IDE TODO comments to GitHub issues" +author: "Alastair Mooney" +runs: + using: "docker" + image: "Dockerfile" +branding: + icon: "check-square" + color: "orange" \ No newline at end of file