tracehubpm / tracehub

Tracehub and Project as a Code, a VCS-based collaboration tool
MIT License
5 stars 0 forks source link

Turn it into GitHub action #169

Open h1alexbel opened 5 months ago

h1alexbel commented 5 months ago

Let's turn this Tracehub application into a configurable GitHub action. First of all, it will be more stable (hosted service can experience downtimes and so on) and there is no need to host it, and users can use the whole tracehub functionality in packaged GitHub action, for instance tracehub.yml:

name: tracehub
on:
  # we need to define all process we handling, according to current tracehub functionality and event handlers
  ...
permissions:
  # write permissions for all entities that we interact with
   ...
jobs:
  check:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
        # pack it using docker
      - uses: docker://tracehub/tracehub:latest
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          # probably we will need to define more inputs
github-actions[bot] commented 5 months ago

@h1alexbel thanks for the report, here is a feedback:

Problems:

Please fix the bug report in order it to get resolved faster. Analyzed with Phind/Phind-CodeLlama-34B-v2

h1alexbel commented 5 months ago

ideally, all things we should change are: