Skip to content

.github/workflows/deploy_unified_header.yml needs permissions: contents: write #322

Description

@pdimov

Due to

https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation

we'll be changing the default GHA permissions for boostorg to read-only.

Since .github/workflows/deploy_unified_header.yml does git push, it will need to be updated to contain

permissions:
  contents:
    write

(https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions)

I'd also recommend enabling branch protection, so that the master and develop branches can't be rewritten or deleted.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions