|
@@ -17,3 +17,17 @@ jobs:
|
|
|
- uses: actions/labeler@v4
|
|
|
with:
|
|
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
|
|
+
|
|
|
+ - name: Check Branch
|
|
|
+ id: check-branch
|
|
|
+ run: |
|
|
|
+ if echo "${{ github.base_ref }}" | grep -q -E 'openwrt-[0-9][0-9]\.[0-9][0-9]'; then
|
|
|
+ echo "apply-tag=yes" >> $GITHUB_OUTPUT
|
|
|
+ fi
|
|
|
+
|
|
|
+ - uses: buildsville/[email protected]
|
|
|
+ if: ${{ steps.check-branch.outputs.apply-tag }}
|
|
|
+ with:
|
|
|
+ token: ${{secrets.GITHUB_TOKEN}}
|
|
|
+ labels: ${{ github.base_ref }}
|
|
|
+ type: add
|