Skip to content

FOLIO-4553: Set "permissions: contents: read" in maven.yml - #80

Open
julianladisch wants to merge 1 commit into
masterfrom
FOLIO-4553
Open

FOLIO-4553: Set "permissions: contents: read" in maven.yml#80
julianladisch wants to merge 1 commit into
masterfrom
FOLIO-4553

Conversation

@julianladisch

Copy link
Copy Markdown
Contributor

https://folio-org.atlassian.net/browse/FOLIO-4553

Purpose

Adding "permissions: contents: read" to the repository’s maven.yml file that calls the central maven github action workflow is best practice and significantly reduces supply chain attacks: https://docs.github.com/en/actions/reference/security/secure-use

Suggested maven.yml: https://github.com/folio-org/.github/blob/master/README-maven.md#usage

Approach

Add "permissions: contents: read" to maven.yml

Learning

Follow documentation: https://github.com/folio-org/.github/blob/master/README-maven.md#usage

Pre-Merge Checklist:

Before merging this PR, please go through the following list and take appropriate actions.

  • Does this PR meet or exceed the expected quality standards?
    • Code coverage on new code is 80% or greater
    • Duplications on new code is 3% or less
    • There are no major code smells or security issues
  • Does this introduce breaking changes?
    • n/a Were any API paths or methods changed, added or removed?
    • n/a Were there any schema changes?
    • n/a Did any of the interface versions change?
    • n/a Were permissions changed, added, or removed?
    • n/a Are there new interface dependencies?
    • There are no breaking changes in this PR.

https://folio-org.atlassian.net/browse/FOLIO-4553

Purpose

Adding permissions: contents: read to the repository’s maven.yml file that calls the central maven github action workflow is best practice and significantly reduces supply chain attacks: https://docs.github.com/en/actions/reference/security/secure-use

Suggested maven.yml: https://github.com/folio-org/.github/blob/master/README-maven.md#usage

Approach

Add permissions: contents: read to maven.yml

Learning

Follow documentation: https://github.com/folio-org/.github/blob/master/README-maven.md#usage
@julianladisch
julianladisch requested review from a team and dcrossleyau July 28, 2026 16:26
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants