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

[BUG] DIRECTORY.md workflow not running due to protected branch #1219

Open
Panquesito7 opened this issue Oct 21, 2022 · 10 comments
Open

[BUG] DIRECTORY.md workflow not running due to protected branch #1219

Panquesito7 opened this issue Oct 21, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@Panquesito7
Copy link
Member

Description

The DIRECTORY.md workflow isn't committing/pushing any needed changes due to the master branch being protected.
Currently, there's no way to make GitHub Actions have access to a protected branch.

Our current options are:

  • Disable branch protection (not recommended).
  • Commit as someone with access to making direct commits to the branch.
  • Wait until GitHub provides a solution to this.
@Panquesito7 Panquesito7 added the bug Something isn't working label Oct 21, 2022
@raklaptudirm
Copy link
Member

Directory.md is currently changed in the prs themselves which I think is good enough.

@Panquesito7
Copy link
Member Author

Panquesito7 commented Oct 21, 2022

Directory.md is currently changed in the prs themselves which I think is good enough.

Yeah. Although, I still think this should be kept open until GitHub actually fixes this.

@raklaptudirm
Copy link
Member

The ideal scenario would be for the workflow to run only in the master.

@Panquesito7
Copy link
Member Author

The ideal scenario would be for the workflow to run only in the master.

That currently won't work as the master branch is protected.

@isaacudofia
Copy link

Maintainer / Owner access is never able to force push again for default & protected branch,

@rickydoo680

This comment was marked as spam.

@Panquesito7
Copy link
Member Author

@raklaptudirm, should I change the workflow to create a PR to the repository, just like in other repositories such as C/C++?

@raklaptudirm
Copy link
Member

@raklaptudirm, should I change the workflow to create a PR to the repository, just like in other repositories such as C/C++?

That would be best imo.

@Panquesito7
Copy link
Member Author

If anyone wants to work on this, feel free to create a PR. 🙂

@SharmilaChandariah
Copy link

I can Check on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants