Skip to content

CI: add PR labeler workflow #26390

CI: add PR labeler workflow

CI: add PR labeler workflow #26390

name: Test and Build
on:
pull_request:
jobs:
formalities:
name: Test Formalities
uses: georgesapkin/openwrt-actions-shared-workflows/.github/workflows/formal.yml@formal-check-for-more-guideline-violations-test
with:
post_comment: true
label_formality_status:
name: Add formality check labels
runs-on: ubuntu-slim
needs: formalities
if: always()
permissions:
pull-requests: write
steps:
- name: Add 'not following guidelines' label
if: needs.formalities.result == 'failure'
uses: buildsville/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: "not following guidelines"
type: add
- name: Remove 'not following guidelines' label
if: needs.formalities.result == 'success'
uses: buildsville/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
labels: "not following guidelines"
type: remove
build:
name: Feeds Package Test Build
needs: formalities
uses: openwrt/actions-shared-workflows/.github/workflows/multi-arch-test-build.yml@main