Skip to content

github actions dx issue: forks and branches #11

@gregsadetsky

Description

@gregsadetsky

hey rcade team,

just a small thought/issue that you may want to think about - this may be a very very very very edge case, but still:

  • I forked Claire's miRCo repo - my fork is here
  • every time I push on my repo, the github actions will run. same thing for Claire's upstream repo
  • in the Games API endpoint, I see that the game appears with
"git":
    {
        "ssh": "git@github.com:gregsadetsky/miRCo-engine.git",
        "https": "https://github.com/gregsadetsky/miRCo-engine"
    },

because I github-actions-deployed it first, and since both my fork and Claire's upstream both declare the game with the same gameid/name, "mirco"

  • just something maybe to mull about - or maybe provide best practices for? should I... add something to deploy-rcade.yaml so that it takes the github user+repo in account in the game name? ie should the github action rename the name in the manifest for "mirco (dev - greg)" to make sure that it appears/is pushed as a separate game?
  • I guess the same question / issue would happen for anyone who develops on a branch - their github action would also run and would overwrite the game from their main branch..? (I guess that's not true since the github actions has branches: [main, master] in it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions