Skip to content

Backport delete_backport_branch workflow hardening#2035

Open
Tejashribambal19 wants to merge 1 commit into
opensearch-project:2.11from
Tejashribambal19:fix-2024-workflow-hardening-2.11
Open

Backport delete_backport_branch workflow hardening#2035
Tejashribambal19 wants to merge 1 commit into
opensearch-project:2.11from
Tejashribambal19:fix-2024-workflow-hardening-2.11

Conversation

@Tejashribambal19

Copy link
Copy Markdown

Description

Backports the workflow hardening changes for .github/workflows/delete_backport_branch.yml to the 2.11 release branch.

This backports the workflow hardening changes from the default branch by:

  • restricting workflow permissions to the minimum required (contents: write)
  • replacing the third-party action with actions/github-script
  • ensuring the workflow only operates on pull requests from the same repository

Issues Resolved

Resolves #2024

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.

1 participant