Skip to content

Check Issues

Check Issues #266

Workflow file for this run

name: Check Issues
on:
workflow_dispatch:
schedule:
- cron: "0 */5 * * *" #'*/5 * * * *' # Runs every 5 minutes
jobs:
fetch-issues:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
- name: Install Dependencies
run: |
go mod tidy # Ensures that dependencies are correctly resolved
- name: Run Issue Tracker
env:
REPO_OWNER: Dharma-09 # Set your target repository owner
REPO_NAME: CI-CD-pipelines-examples # Set your target repository name
LABEL: bug # Set the label to track
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} # GitHub Token for authentication
run: |
echo "Starting the Issue Tracker Script..."
go run main.go