diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..ee13e9eed35 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +iroha1: + - base-branch: ['iroha1-main'] diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml new file mode 100644 index 00000000000..47079cb60f0 --- /dev/null +++ b/.github/workflows/label-pr.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: + pull_request_target: + branches: [ iroha1-main ] +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 \ No newline at end of file