https://github.com/actioncloud/issue-tracker-action
GitHub Issue Tracker Action.
https://github.com/actioncloud/issue-tracker-action
github-actions github-issues
Last synced: 3 months ago
JSON representation
GitHub Issue Tracker Action.
- Host: GitHub
- URL: https://github.com/actioncloud/issue-tracker-action
- Owner: ActionCloud
- Created: 2019-11-26T09:15:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-01T01:51:21.000Z (11 months ago)
- Last Synced: 2024-11-01T02:30:21.247Z (11 months ago)
- Topics: github-actions, github-issues
- Language: JavaScript
- Homepage:
- Size: 401 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/lannonbr/vscode-issue-tracker), and I make it a GitHub Action.
## Usage
```yaml
# A workflow config example
name: Test trackeron:
# 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=&repo=`.
You can put a badge in your README file:
[](https://actioncloud.github.io/apps/github-issue-tracker?owner=actioncloud&repo=issue-tracker-action)
```pre
# remember to change the owner_name and repo_name to yours:[](https://actioncloud.github.io/apps/github-issue-tracker?owner=&repo=)
```### Page preview
