Skip to content

fix(kamailio.cfg): Log rejected INVITES or REGISTER for unrecognized … #4

fix(kamailio.cfg): Log rejected INVITES or REGISTER for unrecognized …

fix(kamailio.cfg): Log rejected INVITES or REGISTER for unrecognized … #4

name: "Label PR from Weblate"
on:
pull_request:
types: [opened]
jobs:
label-pr:
runs-on: ubuntu-latest
steps:
- name: Check if PR is from Weblate
id: check_weblate
run: |
if [[ "${{ github.event.pull_request.user.login }}" == "weblate" ]]; then
echo "from_weblate=true" >> $GITHUB_OUTPUT
else
echo "from_weblate=false" >> $GITHUB_OUTPUT
fi
- name: Assign label
if: steps.check_weblate.outputs.from_weblate == 'true'
uses: actions/labeler@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels: 'translation'