astrodbtoolkit / astrodbtoolkit/astrodb-template-db

Fix generate-db logic when pushing to main

Open
#190 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3
Forks
5
Avg merge
34m
Merged PRs (30d)
2

Description

The logic doesn't work since the main branch is protected.
See https://stackoverflow.com/questions/69263843/how-to-push-to-protected-main-branches-in-a-github-action for ideas on how to set up a GitHub App that could take care of this.

The action will work on branches on workflow_dispatch but not on release (since that pushes to main)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the generate-db GitHub Actions workflow and compare its workflow_dispatch and release paths. Read the linked protected-branch and GitHub App guidance, then verify that a release can update main without violating branch protection; done means both release and manual branch runs succeed.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, github-actions
Domain
ci-cd, devops, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.