From 2bdbd097af107b8371c57ac695ea28b222938a56 Mon Sep 17 00:00:00 2001 From: Pavel Lonkin Date: Tue, 16 Sep 2025 11:53:29 +0200 Subject: [PATCH] MPT-13188 Add Danger rules for Python API Client --- .github/workflows/danger.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..0320fd8c --- /dev/null +++ b/.github/workflows/danger.yml @@ -0,0 +1,22 @@ +name: Danger + +on: + pull_request: + types: [opened, synchronize, reopened, edited] + +permissions: + contents: read + pull-requests: write + +jobs: + danger: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + + - uses: softwareone-platform/one-danger@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }}