mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 13:56:44 +00:00
Switch action execution from composite to Docker, updating to version v5.1.12. This change simplifies the setup by using a pre-built Docker image for the TODO to Issue action.
Signed-off-by: Shakar Bakr <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
1b4753ffdd
commit
a3adffe07c
39
action.yml
39
action.yml
@ -2,43 +2,8 @@ name: 'TODO to Issue'
|
||||
description: 'Converts IDE TODO comments to GitHub issues'
|
||||
author: 'Alastair Mooney'
|
||||
runs:
|
||||
using: 'composite'
|
||||
steps:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install requests ruamel.yaml
|
||||
shell: bash
|
||||
|
||||
- name: Run TODO to Issue action
|
||||
run: python ${{ github.action_path }}/main.py
|
||||
shell: bash
|
||||
env:
|
||||
INPUT_REPO: ${{ inputs.REPO }}
|
||||
INPUT_BEFORE: ${{ inputs.BEFORE }}
|
||||
INPUT_COMMITS: ${{ inputs.COMMITS }}
|
||||
INPUT_DIFF_URL: ${{ inputs.DIFF_URL }}
|
||||
INPUT_SHA: ${{ inputs.SHA }}
|
||||
INPUT_TOKEN: ${{ inputs.TOKEN }}
|
||||
INPUT_CLOSE_ISSUES: ${{ inputs.CLOSE_ISSUES }}
|
||||
INPUT_AUTO_P: ${{ inputs.AUTO_P }}
|
||||
INPUT_PROJECT: ${{ inputs.PROJECT }}
|
||||
INPUT_PROJECTS_SECRET: ${{ inputs.PROJECTS_SECRET }}
|
||||
INPUT_IGNORE: ${{ inputs.IGNORE }}
|
||||
INPUT_AUTO_ASSIGN: ${{ inputs.AUTO_ASSIGN }}
|
||||
INPUT_ACTOR: ${{ inputs.ACTOR }}
|
||||
INPUT_ISSUE_TEMPLATE: ${{ inputs.ISSUE_TEMPLATE }}
|
||||
INPUT_IDENTIFIERS: ${{ inputs.IDENTIFIERS }}
|
||||
INPUT_GITHUB_URL: ${{ inputs.GITHUB_URL }}
|
||||
INPUT_GITHUB_SERVER_URL: ${{ inputs.GITHUB_SERVER_URL }}
|
||||
INPUT_ESCAPE: ${{ inputs.ESCAPE }}
|
||||
INPUT_LANGUAGES: ${{ inputs.LANGUAGES }}
|
||||
INPUT_NO_STANDARD: ${{ inputs.NO_STANDARD }}
|
||||
INPUT_INSERT_ISSUE_URLS: ${{ inputs.INSERT_ISSUE_URLS }}
|
||||
INPUT_TARGET_REPO: ${{ inputs.TARGET_REPO }}
|
||||
using: 'docker'
|
||||
image: 'docker://ghcr.io/alstr/todo-to-issue-action:v5.1.12'
|
||||
branding:
|
||||
icon: 'check-square'
|
||||
color: 'orange'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user