anza-xyz / move

Move compiler targeting llvm supported backends
https://discord.gg/wFgfjG9J
Apache License 2.0
108 stars 33 forks source link

ci: add pr links automatically #308

Closed yihau closed 1 year ago

yihau commented 1 year ago

Motivation

a improvement for https://github.com/solana-labs/move/issues/51. try to make the process become automatic. this new action will be triggered when someone create a PR. it will

  1. commit a empty change with the PR number.
  2. move the commit as the first commit of the PR. (via rebase)
  3. push -f

if we don't like it, we can change this process to either

When a PR has been created

Screenshot 2023-08-29 at 4 06 06 PM

When the action successes

Screenshot 2023-08-29 at 4 07 09 PM

the demo PR: https://github.com/yihau/solana-move/pull/27