Skip to content

Add GitHub Action to sync Disasters issues from NASA-IMPACT project board#205

Open
kyle-lesinger wants to merge 100 commits into
devfrom
feat/add-disaster-issues-sync-workflow
Open

Add GitHub Action to sync Disasters issues from NASA-IMPACT project board#205
kyle-lesinger wants to merge 100 commits into
devfrom
feat/add-disaster-issues-sync-workflow

Conversation

@kyle-lesinger

Copy link
Copy Markdown
Collaborator

Summary

Adds a new GitHub Action workflow that automatically syncs issues labeled with initiative: Disasters from the NASA-IMPACT project board to the Disasters Learning Portal project board.

Changes

  • Created .github/workflows/sync-disaster-issues.yml workflow
  • Workflow runs every 10 minutes for continuous sync
  • Supports manual trigger for testing via workflow_dispatch

How it works

  1. Fetches all issues from NASA-IMPACT project board (Build HD Black Marble Nightlights pipeline (production) #39)
  2. Filters for issues with initiative: Disasters label
  3. Checks which issues already exist in Disasters Learning Portal project board ([DO NOT MERGE] cog speed test #5)
  4. Adds new issues as references (original issues from NASA-IMPACT repos)
  5. Skips duplicates to avoid re-adding existing items

Setup Required

Before this workflow can run, a repository secret needs to be added:

  • Secret name: DISASTER_SYNC_TOKEN
  • Required permissions:
    • read:project for NASA-IMPACT organization
    • read:project and write:project for Disasters-Learning-Portal organization

Test plan

  • Add DISASTER_SYNC_TOKEN secret to repository
  • Manually trigger workflow from Actions tab
  • Verify issues are added to Disasters Learning Portal project board
  • Verify duplicates are skipped on subsequent runs
  • Monitor scheduled runs every 10 minutes

Add github action - move Issues/Tickets to DSE board
Update yml - on error it will still continue
- Remove old single-board workflow
- Add new unified workflow for all project boards
- Support for 4 labels: dse, odd, dashboard, dataServices
- Each label routes to appropriate NASA-IMPACT project board
…yntax

Replace add_to_dse_board.yml with unified add_to_boards.yml
…mBoard

include debug in removal function
…mBoard

include additional debug in removal function
kyle-lesinger and others added 24 commits January 28, 2026 14:08
…geCards

February meeting front-end changes
…oard

This workflow automatically syncs issues labeled with "initiative: Disasters" from the NASA-IMPACT project board (#39) to the Disasters Learning Portal project board (#5).

Features:
- Runs every 10 minutes to keep boards in sync
- Manual trigger option for testing
- Adds original issues as references (doesn't create duplicates)
- Avoids re-adding issues already in the destination project

The workflow requires a DISASTER_SYNC_TOKEN secret with project read/write permissions for both organizations.
- Add null checks for content and labels before filtering
- Skip empty lines and validate issue ID before processing
- Add debug output to show all labels found in source project
- Add sample issue data output when issues are found
- Improve error messages for missing data
@netlify

netlify Bot commented Mar 25, 2026

Copy link
Copy Markdown

Deploy Preview for disasters-portal ready!

Name Link
🔨 Latest commit ba61009
🔍 Latest deploy log https://app.netlify.com/projects/disasters-portal/deploys/69c42a47ec6fd900075f5a0f
😎 Deploy Preview https://deploy-preview-205--disasters-portal.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@kyle-lesinger kyle-lesinger reopened this Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants