woocommerce / grow

7 stars 7 forks source link

Upgrade the `branch-label` action to use Node.js v20 #122

Closed eason9487 closed 5 months ago

eason9487 commented 5 months ago

Changes proposed in this Pull Request:

Part of #108

This PR upgrades the branch-label action to use Node.js v20.

Detailed test instructions:

📌 Using Node.js v20

  1. View a previous workflow run used v1 action
  2. View test workflow runs used updated action

📌 View testing PRs to see if the alternative implementation can achieve the same results

1️⃣ Add a label: https://github.com/eason9487/grow/pull/24

image

2️⃣ Add multiple labels: https://github.com/eason9487/grow/pull/25

image

3️⃣ Mismatched branch name: https://github.com/eason9487/grow/pull/26

No labels are added because the branch name fixed/space-time-rift didn't match any rules.

image

4️⃣ No required permissions: https://github.com/eason9487/grow/pull/29

This test explains that a workflow uses pull_request event may result in permission issue when a PR is created from forks.

image image