Visitar URL original
[BUG] `DIRECTORY.md` workflow not running due to protected branch · Issue #1219 · TheAlgorithms/JavaScript · GitHub
Skip to content

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

Description

@Panquesito7

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.

Activity

  1. raklaptudirm commented on Oct 21, 2022

    @raklaptudirm
    Member

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

  2. Panquesito7 commented on Oct 21, 2022

    @Panquesito7
    MemberAuthor

    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.

  3. raklaptudirm commented on Oct 22, 2022

    @raklaptudirm
    Member

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

  4. Panquesito7 commented on Oct 23, 2022

    @Panquesito7
    MemberAuthor

    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.

  5. isaacudofia commented on Nov 1, 2022

    @isaacudofia

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

  6. rickydoo680 commented on Dec 29, 2023

    @rickydoo680
  7. Panquesito7 commented on Jan 15, 2024

    @Panquesito7
    MemberAuthor

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

  8. raklaptudirm commented on Jan 16, 2024

    @raklaptudirm
    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.

  9. Panquesito7 commented on Apr 11, 2024

    @Panquesito7
    MemberAuthor

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

  10. SharmilaChandariah commented on Apr 27, 2024

    @SharmilaChandariah

    I can Check on this

  11. Sayan-ghs commented on Oct 1, 2025

    @Sayan-ghs

    I would like to contribute on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions