Skip to content

[#706] Tighten GitHub Actions workflow permissions to least privilege#707

Merged
jabolina merged 1 commit into
infinispan:mainfrom
tristantarrant:706/workflow-permissions
Jun 22, 2026
Merged

[#706] Tighten GitHub Actions workflow permissions to least privilege#707
jabolina merged 1 commit into
infinispan:mainfrom
tristantarrant:706/workflow-permissions

Conversation

@tristantarrant

Copy link
Copy Markdown
Member

Summary

  • Add top-level permissions: {} to ai_ide_config_notice.yml so new jobs default to no permissions
  • Add permissions: {} to release.yml published job (only polls Maven Central, no GitHub API)
  • Remove unused statuses: write from test_report.yaml report-summary job (only uses checks: write)
  • Change add_issues_to_major_project.yaml top-level permissions to {} (uses PAT, not GITHUB_TOKEN)

Closes #706

Created with the assistance of an AI tool

@tristantarrant tristantarrant requested a review from a team as a code owner June 22, 2026 11:49
@github-actions

Copy link
Copy Markdown

⚠️ AI/IDE/CI Configuration Changes

This PR includes changes to AI assistant, IDE, or GitHub Actions/workflow configuration files. These changes can affect how AI assistants interact with this codebase or how CI pipelines run. Please review carefully.

Changed files:

  • .github/workflows/add_issues_to_major_project.yaml
  • .github/workflows/ai_ide_config_notice.yml
  • .github/workflows/release.yml
  • .github/workflows/test_report.yaml

@github-actions github-actions Bot added the ai-config Changes to AI assistant, IDE, or CI configuration label Jun 22, 2026
@jabolina jabolina merged commit dd72fab into infinispan:main Jun 22, 2026
10 checks passed
@jabolina

Copy link
Copy Markdown
Member

Thanks, @tristantarrant!

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

Labels

ai-config Changes to AI assistant, IDE, or CI configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tighten GitHub Actions workflow permissions to least privilege

2 participants