hedera-improvement-proposal
hedera-improvement-proposal copied to clipboard
Remove workflow that doesnt work for other forks
This PR adds the ability for the assign hip number and rename file worklow to work with forks
- Use pull_request_target to handle PRs from forks with base repo permissions
- Checkout both head and base repositories for accurate diff and reference
- Identify new HIP files in the PR and assign HIP numbers based on PR number
- Rename new HIP files to include assigned HIP numbers
- Commit and push changes back to the PR branch