# Alire github token scope

**URL:** https://forum.ada-lang.io/t/alire-github-token-scope/4876
**Category:** General
**Created:** [October 22, 2026, 9:23am UTC](https://forum.ada-lang.io/t/alire-github-token-scope/4876 "2026-10-22T09:23:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![kevlar700](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/kevlar700/32/1118_2.png) [@kevlar700](https://forum.ada-lang.io/u/kevlar700)
#### Post date: [October 22, 2026, 9:23am UTC](https://forum.ada-lang.io/t/alire-github-token-scope/4876/1 "2026-10-22T09:23:30Z")

</div>

Alire 2.1.1 when attempting to alr publish today came back with saying workflow scope is needed but the docs say just public repo access permission is needed.

> **[Creating a GitHub Personal Access Token - Alire - Docs](https://alire.ada.dev/docs/#creating-a-github-personal-access-token)**
>
> A Personal Access Token (PAT) allows Alire to act on your behalf to fork the community index, push the new release manifest to a new branch in your own fork, and finally open a pull-request against the community repository. | A catalog of...

`To https://github.com/kevlar700/alire-index ! [remote rejected] release/elogs-2.0.0 -> release/elogs-2.0.0 (refusing to allow a Personal Access Token to create or update workflow`.github/workflows/build-distros.yml`without`workflow`scope) error: failed to push some refs to 'https://github.com/kevlar700/alire-index' error: Could not complete the publishing assistant: error: Command ["git", "push", "-f", "-u", "writable", "release/elogs-2.0.0"] exited with code 1`

On another note is there anything to be aware of with regard to alire when transferring a repo from one github account to a company account where the original account still has publishing access?

Regards, K.C.

---

<div class="post-metadata">

### Author: ![LionelDraghi](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/lioneldraghi/32/416_2.png) [@LionelDraghi](https://forum.ada-lang.io/u/LionelDraghi)
#### Post date: [October 22, 2026, 12:56pm UTC](https://forum.ada-lang.io/t/alire-github-token-scope/4876/2 "2026-10-22T12:56:39Z")

</div>

> [@kevlar700](#):
>
> Alire 2.1.1 when attempting to alr publish today came back with saying workflow scope is needed but the docs say just public repo access permission is needed.

Strange, my pull request regarding this was merged long time ago…

> <https://github.com/alire-project/alire/pull/1707/files>
>
> Doc update : when generating the PAT, checking “public\_repo” is needed, but also… "workflow".
