CI: add PR labeler workflow #26391
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test and Build | |
| on: | |
| pull_request: | |
| jobs: | |
| formalities: | |
| name: Test Formalities | |
| uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main | |
| 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 |