bnb-chain / opbnb

MIT License
403 stars 163 forks source link

fix(ci): fix labeler fail #95

Closed welkin22 closed 11 months ago

welkin22 commented 11 months ago

Description

Due to the latest 5.0 version of the labeler component making incompatible changes to the configuration file format, our labeler ci workflow is not functioning properly. I have made fixes for this.

Rationale

The latest version of the labeler component has made incompatible changes to the configuration file format, see: https://github.com/actions/labeler/releases/tag/v5.0.0

Example

none

Changes

Notable changes:

welkin22 commented 11 months ago

According to the document https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target, the pull_request_target event uses the PR base branch, so only after this PR is merged into the base branch, can subsequent PRs observe the effect of the fix. I conducted an experiment in my own repository and proved that the fix is effective: https://github.com/welkin22/opbnb/pull/13