உள்ளடக்கத்திற்குச் செல்லவும்

GitHub Actions

steps template ஐப் பயன்படுத்தி உங்கள் பூட்டுத் திரையில் CI/CD workflow முன்னேற்றத்தை நிகழ்நேரத்தில் கண்காணிக்கவும்.

நேரடிச் செயல்பாட்டுச் செயல்விளக்கம்

How It Works

The pushward-github bridge container polls the GitHub Actions API for in-progress workflow runs and maps workflow progress to Live Activities using the steps template.

  1. Idle polling -- checks all configured repos every 60s for in-progress workflows
  2. Active tracking -- on each poll cycle the bridge fetches the tracked run's jobs and updates progress
  3. Cleanup -- after the workflow completes, the activity is cleaned up after a configurable delay (default 15 min)

Setup

1. Get Your Integration Key

PushWard பயன்பாட்டில் Settings → Integration Key என்பதன் கீழ் உள்ள உங்கள் இயல்புநிலை integration key ஐ நகலெடுக்கவும்; நீங்கள் உள்நுழையும்போது இது தானாகவே உருவாக்கப்படுகிறது. ஒரு key ஐ இந்த integration க்கு மட்டும் வரம்பிட, scoped keys உருவாக்குதல் ஐப் பார்க்கவும்.

2. Create a GitHub Personal Access Token

Create a fine-grained PAT with actions:read permission on the repos you want to track.

3. Deploy the Bridge

docker-compose.yml
services:
  pushward-github:
    image: ghcr.io/mac-lucky/pushward-github:latest
    environment:
      PUSHWARD_URL: https://api.pushward.app
      PUSHWARD_API_KEY: hlk_YOUR_INTEGRATION_KEY
      PUSHWARD_GITHUB_TOKEN: github_pat_YOUR_GITHUB_TOKEN
      PUSHWARD_GITHUB_OWNER: your-username  # auto-discovers all repos
      # OR specify repos explicitly:
      # PUSHWARD_GITHUB_REPOS: owner/repo1,owner/repo2
    restart: unless-stopped

Configuration

Environment Variableவிளக்கம்இயல்புநிலை
PUSHWARD_URLPushWard server URL--
PUSHWARD_API_KEYIntegration key (hlk_ prefix)--
PUSHWARD_GITHUB_TOKENGitHub PAT with actions:read--
PUSHWARD_GITHUB_OWNERGitHub username for auto-discovery--
PUSHWARD_GITHUB_REPOSComma-separated owner/repo list--
PUSHWARD_PRIORITYActivity priority (0-10)1
PUSHWARD_POLL_IDLEPoll interval for run detection and active job updates60s
PUSHWARD_CLEANUP_DELAYDelay before cleanup after ended15m
💡 குறிப்பு

Use PUSHWARD_GITHUB_OWNER to auto-discover all your repos. The bridge refreshes the repo list every 5 minutes, skipping archived and disabled repos.

Activity Slug Format

Activities are created with the slug gh-<8 hex chars>, derived from SHA-256(owner/repo) (e.g. gh-1a2b3c4d). One run is tracked per repository at a time.