diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..749cf3e497 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,7 @@ +# branches +"OpenWrt 23.05 (end of support)": +- base-branch: + - "openwrt-23.05" +"OpenWrt 24.10": +- base-branch: + - "openwrt-24.10" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..29396df9be --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,20 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +permissions: + contents: read + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + + name: Pull Request Labeler + runs-on: ubuntu-slim + steps: + - uses: actions/labeler@v6 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' + sync-labels: true