boostorg / boostorg/parser

`.github/workflows/deploy_unified_header.yml` needs `permissions: contents: write`

Open
#322 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
182
Forks
28
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.