From 4f0998772ac28b803b741db2f5704897fecde936 Mon Sep 17 00:00:00 2001 From: Pavel Lonkin Date: Thu, 18 Jun 2026 13:44:44 +0200 Subject: [PATCH] ci: add Danger PR-formatting check Add a Danger workflow that runs the shared softwareone-platform/one-danger action on pull requests to enforce the PR-formatting rules. MPT-22385 --- .github/workflows/danger.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/danger.yml diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml new file mode 100644 index 00000000..3048b6cb --- /dev/null +++ b/.github/workflows/danger.yml @@ -0,0 +1,24 @@ +name: Danger + +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +permissions: + contents: read + pull-requests: write + +jobs: + danger: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Run Danger + uses: softwareone-platform/one-danger@1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }}