Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bug: 🐝 fail if there is github-pages-deploy-action branch due to conflict temporaryDeploymentBranch #1712

Copy link
Copy link
@xuwei-k

Description

@xuwei-k
Issue body actions

Describe the bug

This action create temporary branch github-pages-deploy-action/{random string}. but this cause conflict error.

const temporaryDeploymentBranch = `github-pages-deploy-action/${Math.random()
.toString(36)
.substr(2, 9)}`

Reproduction Steps

create github-pages-deploy-action branch and run this action

Logs

/usr/bin/git add --all .
/usr/bin/git checkout -b github-pages-deploy-action/sh2ajsxux
fatal: cannot lock ref 'refs/heads/github-pages-deploy-action/sh2ajsxux': 'refs/heads/github-pages-deploy-action' exists; cannot create 'refs/heads/github-pages-deploy-action/sh2ajsxux'
Running post deployment cleanup jobs… πŸ—‘οΈ

Workflow

https://github.com/scala-text/scala_text/actions/runs/11172103654/job/31058018457#step:22:74

Additional Comments

I will suggest avoid / char.

- `github-pages-deploy-action/{ramdom string}`
+ `github-pages-deploy-action-{ramdom string}`
devzomCopilot

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.