Gitpod: Cannot push changes in GitHub Actions workflows

Created on 9 Dec 2019  路  11Comments  路  Source: gitpod-io/gitpod

Describe the bug
can not push changes to GitHub Action workflows
To Reproduce
try to edit GitHub Actions workflow
https://www.loom.com/share/e356809fff3a4a62be4d66855090924b
Expected behavior
abe to edit and commit changes to GitHub Actions workflow
Additional Information
Example repo https://github.com/JesterOrNot/gosh
Idea: add permission to access control for GitHub actions

GitHub auth

Most helpful comment

@RDIL Make sure that it is approved on https://gitpod.io/access-control/

image

All 11 comments

It is a strange restriction of GitHub. AFAIU you can edit them only on GitHub.

Stumbled over it as well:
Screen Shot 2019-12-19 at 11 34 25

It would be nice to detect it and grant workspace scope as we do for private repos.

@svenefftinge we should add the option to authorize with workflow scope, cf. https://developer.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes

Is there any other way to bypass.

Hi @fbigun! We'll add the workflow scope soon.

The only known way to update a workflow file without this scope is if it already exists in the repo (could be on another branch)

Workflow files can be committed without this scope if the same file (with both the same path and contents) exists on another branch in the same repository.

Can you guys add it for the next deploy please

isn't this fixed already? works for me if set in access controls

nope isn't working for me

@RDIL Make sure that it is approved on https://gitpod.io/access-control/

image

Oh thats new

ok ty

Since this is fixed I am closing this issue!

Was this page helpful?
0 / 5 - 0 ratings