Skip to content

Commit bf8f022

Browse files
committed
fix(workflow): remove unnecessary permissions
1 parent bcb2efb commit bf8f022

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

.github/workflows/cicd-2-publish.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ permissions:
1313
contents: write
1414
issues: write
1515
packages: write
16-
pull-requests: write # optional
1716
id-token: write
1817
attestations: write
1918

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ Follow these steps to create and configure a minimal‑permission GitHub App tha
126126
- Repository permissions:
127127
- _Contents: Read & write_, needed to create tags and commit `VERSION`
128128
- _Issues: Read & write_, enables adding release notes comments
129-
- _Pull Requests: Read & write_, allows future Pull Request automation and is optional
130129
- All other repository permissions: No access
131130
- _Organization permissions: None required_
132131
- _Account permissions: None required_
@@ -339,7 +338,6 @@ Other semver-valid formats such as `1.2.3+api` or `api_v1.2.3` were evaluated, b
339338
- Use `${{ github.token }}` instead of the legacy `${{ secrets.GITHUB_TOKEN }}`, the former is guaranteed to exist in all workflow contexts and is the modern standard
340339
- In _repository → Settings → Actions → General_, ensure the following are configured:
341340
- _Read repository contents and packages permissions_ under _Workflow permissions_
342-
- _Allow GitHub Actions to create and approve pull requests_ is optional
343341

344342
This _"flat registry with tagged components"_ model scales cleanly across repositories while remaining compliant with GitHub's authentication and namespace rules. It also provides a consistent, human-readable way to publish and manage multiple container images under one project.
345343

0 commit comments

Comments
 (0)