Skip to content

Commit

Permalink
Use MeilCli/danger-action
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Feb 22, 2024
1 parent 0624a4e commit a027aed
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: migration-warning-on-release-branches

on:
pull_request:
branches:
- release/*
paths:
- 'db/migrate/**.rb'
- 'modules/**/db/migrate/*.rb'

jobs:
danger:
if: github.repository == 'opf/openproject'
runs-on: [ubuntu-latest]
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.3'
- uses: MeilCli/danger-action@v5
with:
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a027aed

Please sign in to comment.