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 }}