Skip to content

GitHub issue tracker

Actions
An issue tracker action
v2
Latest
Star (5)

GitHub Issue Tracker Action

This is a GitHub Action which runs periodically (e.g. once an hour) and grabs the current data from the Github API and stores it in a file in the repository(in the .github/actioncloud/issue-tracker/data.json). The code is mainly from vscode-issue-tracker, and I make it a GitHub Action.

Usage

# A workflow config example
name: Test tracker

on:
  # a cron schedule to run periodically
  schedule:
    - cron: '0 * * * *'

jobs:
  test_issue_tracker:
    runs-on: ubuntu-latest
    name: A job to test issue tracker
    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Track issues
      id: tracking
      uses: actioncloud/issue-tracker-action@master
      with:
        github-token: ${{ secrets.GITHUB_TOKEN }}
    # you need git commit to push the issue data to the folder: .github/actioncloud
    - name: Git commit
      run: |
        # git commit if there's any change
        if test -n "$(git status --porcelain 2>/dev/null)"; then
            git config --global user.email "idegorepl@gmail.com"
            git config --global user.name "ActionCloud Bot"
            git add .
            git commit -m "Update forks data"
            git push
        fi
    # you can get badge code of ActionCloud viewer App, and click it to view your data
    - name: Check output
      run: echo '${{ steps.tracking.outputs.actioncloud-badge }}'

GitHub Issue Tracker Viewer

The Action will store the issues data into your repository, and you need a web view page to see the chart. The viewer page is hosted in actioncloud.github.io, the url is https://actioncloud.github.io/apps/github-issue-tracker?owner=<your_owner_name>&repo=<your_repo_name>.

You can put a badge in your README file:

# remember to change the owner_name and repo_name to yours:

[![](https://img.shields.io/badge/ActionCloud%20App-Issue%20Tracker-blue)](https://actioncloud.github.io/apps/github-issue-tracker?owner=<owner_name>&repo=<repo_name>)

Page preview

github issue tracker preview

GitHub issue tracker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An issue tracker action
v2
Latest

GitHub issue tracker is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.