diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000..259d5a5a --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,39 @@ +"pkg: polkadart": +- changed-files: + - any-glob-to-any-file: 'packages/polkadart/**' + +"pkg: polkadart_scale_codec": +- changed-files: + - any-glob-to-any-file: 'packages/polkadart_scale_codec/**' + +"pkg: polkadart_cli": +- changed-files: + - any-glob-to-any-file: 'packages/polkadart_cli/**' + +"pkg: polkadart_keyring": +- changed-files: + - any-glob-to-any-file: 'packages/polkadart_keyring/**' + +"pkg: secp256k1_ecdsa": +- changed-files: + - any-glob-to-any-file: 'packages/secp256k1_ecdsa/**' + +"pkg: sr25519": +- changed-files: + - any-glob-to-any-file: 'packages/sr25519/**' + +"pkg: ss58": +- changed-files: + - any-glob-to-any-file: 'packages/ss58/**' + +"pkg: substrate_bip39": +- changed-files: + - any-glob-to-any-file: 'packages/substrate_bip39/**' + +"pkg: substrate_metadata": +- changed-files: + - any-glob-to-any-file: 'packages/substrate_metadata/**' + +"type: documentation": +- changed-files: + - any-glob-to-any-file: '**/*.md' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..e57cd86e --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5