Skip to content

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

Merged
julianladisch merged 1 commit into
masterfrom
FOLIO-4553
Jul 30, 2026
Merged

FOLIO-4553: Set "permissions: contents: read" in maven.yml#747
julianladisch merged 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?
    • n/a Code coverage on new code is 80% or greater
    • n/a Duplications on new code is 3% or less
    • n/a Check logging
    • 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
@julianladisch
julianladisch requested review from a team and dcrossleyau July 28, 2026 16:01
@sonarqubecloud

Copy link
Copy Markdown

@julianladisch
julianladisch merged commit 300fb44 into master Jul 30, 2026
16 checks passed
@julianladisch
julianladisch deleted the FOLIO-4553 branch July 30, 2026 14:31
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