mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
bfe91d3205
The previous commit broke the CI/CD pipeline, which now fails with the following error:
```
Canceling since a deadlock was detected for concurrency group: 'Test and Build-refs/pull/foo/merge' between a top level workflow and 'Feeds Package Test Build'
```
This likely occurs because the reusable workflow [1] already defines its own concurrency group.
[1] https://github.com/openwrt/actions-shared-workflows/blame/7325a2849900f35af61a08ccd7311b0c8d439246/.github/workflows/multi-arch-test-build.yml#L13
This reverts commit 753e26a131.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
35 lines
975 B
YAML
35 lines
975 B
YAML
name: Test and Build
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
formalities:
|
|
name: Test Formalities
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- name: HyperStickler
|
|
uses: georgesapkin/hyperstickler@v1
|
|
with:
|
|
check_branch: false
|
|
check_signoff: true
|
|
feedback_url: 'https://github.com/openwrt/actions-shared-workflows/issues'
|
|
guideline_url: 'https://openwrt.org/submitting-patches#submission_guidelines'
|
|
max_body_line_len: 100
|
|
max_subject_len_hard: 80
|
|
max_subject_len_soft: 60
|
|
# This still needs a fine-grained token related to:
|
|
# https://github.com/openwrt/packages/pull/28011
|
|
# job_step: 2
|
|
# post_comment: true
|
|
# warn_on_no_modify: true
|
|
|
|
build:
|
|
name: Feeds Package Test Build
|
|
needs: formalities
|
|
uses: openwrt/actions-shared-workflows/.github/workflows/multi-arch-test-build.yml@main
|