Skip to content

Conversation

@RileyJergerAmazon
Copy link
Contributor

This PR replaces the SvanBoxel/delete-merged-branch action with a custom GitHub script using actions/github-script@v7. This provides a more direct approach using the GitHub API to delete branches after they are merged.

- name: Delete merged branch
uses: SvanBoxel/delete-merged-branch@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by replacing with GitHub script which permission will used to do the deletion?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Hailong-am, thank you for pointing that out, I just updated it.

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