Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags not being created #189

Open
lgoettgens opened this issue Feb 10, 2025 · 3 comments
Open

Tags not being created #189

lgoettgens opened this issue Feb 10, 2025 · 3 comments

Comments

@lgoettgens
Copy link
Contributor

cf. #173

This week's releases 1.3.3 and 1.4.0 didn't create tags.

If I interpret the error log in (https://github.com/JuliaMath/DecFP.jl/actions/runs/13226194289/job/36917338438#step:3:61) right, I think that TagBot encounters 0x8f in one of the keys which it somehow cannot deal with. Could you maybe try to regenerate the keys once again?

@stevengj
Copy link
Member

I tried to re-generate the ssh keys but I apparently still didn't get it right. But then I realized that apparently we don't even need this any more — we should just be able to use the secrets.GITHUB_TOKEN? So I commented out the ssh key in f352c94

Not sure how to re-trigger it so that it will try again…

@lgoettgens
Copy link
Contributor Author

On https://github.com/JuliaMath/DecFP.jl/actions/workflows/TagBot.yml, you should see a button "Run workflow" to start the TagBot workflow manually

@stevengj
Copy link
Member

stevengj commented Feb 11, 2025

It gives:

Processing version v1.4.0 (1fb09587b57101860be578c79b1edce00498b56f)
Generating changelog for version v1.4.0 (1fb09587b57101860be578c79b1edce00498b56f)
To https://github.com/JuliaMath/DecFP.jl
 ! [remote rejected] v1.4.0 -> v1.4.0 (refusing to allow a GitHub App to create or update workflow `.github/workflows/TagBot.yml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/JuliaMath/DecFP.jl'
Error: TagBot experienced an unexpected internal failure
Traceback (most recent call last):
  File "/root/tagbot/action/__main__.py", line 96, in <module>
    repo.create_release(version, sha)
  File "/root/tagbot/action/repo.py", line 606, in create_release
    self._git.create_tag(version_tag, sha, log)
  File "/root/tagbot/action/git.py", line 107, in create_tag
    self.command("push", "origin", version)
  File "/root/tagbot/action/git.py", line 71, in command
    raise Abort(f"Git command '{cmd}' failed")
tagbot.action.Abort: Git command 'git -C /tmp/tagbot_repo_5k8iab0s push origin v1.4.0' failed

Response (200): {
Traceback (most recent call last):
  File "/root/tagbot/action/__main__.py", line 96, in <module>
    repo.create_release(version, sha)
  File "/root/tagbot/action/repo.py", line 606, in create_release
  "status": "Submitted error report"
}
    self._git.create_tag(version_tag, sha, log)
  File "/root/tagbot/action/git.py", line 107, in create_tag
    self.command("push", "origin", version)
  File "/root/tagbot/action/git.py", line 71, in command
    raise Abort(f"Git command '{cmd}' failed")
tagbot.action.Abort: Git command 'git -C /tmp/tagbot_repo_5k8iab0s push origin v1.4.0' failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/root/tagbot/action/__main__.py", line 99, in <module>
    repo.handle_error(e)
  File "/root/tagbot/action/repo.py", line 646, in handle_error
    raise Abort("Cannot continue due to internal failure")
tagbot.action.Abort: Cannot continue due to internal failure

which sounds like a permissions problem, but write permissions are enabled:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants