Skip to content

BUG: GH wont allow us to update GH-Actions #31

Description

@MathewBiddle

When the GH-Action tries to pull from the cookiecutter repo, it doesn't like to make changes to existing actions.
https://github.com/hackthackathon/hackathon-template-github/actions/runs/17113891336/job/48540954204

   ! [remote rejected] update-webpage -> update-webpage (refusing to allow a GitHub App to create or update workflow `.github/workflows/gha-pr-add-project.yml` without `workflows` permission)

We have the permissions set appropriately

permissions: write-all

But I think GitHub doesn't want you fiddling with the GH-Actions in a GH-Action.

The changes are minimal:
https://github.com/hackthackathon/hackathon-template-cookiecutter/blob/main/%7B%7Bcookiecutter.hackathon_repo_name%7D%7D/.github/workflows/gha-pr-add-project.yml

https://github.com/hackthackathon/hackathon-template-github/blob/main/.github/workflows/gha-pr-add-project.yml

Not sure what we need to do to fix this one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions