[pull] dev from opf:dev #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dangerfile | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
paths-ignore: | |
- 'docs/**' | |
- 'help/**' | |
- 'packaging/**' | |
- '.pkgr.yml' | |
jobs: | |
danger: | |
if: github.repository == 'opf/openproject' | |
runs-on: [ubuntu-latest] | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: .ruby-version | |
bundler-cache: true | |
- name: Setup danger | |
run: | | |
gem install danger | |
- name: Run inconsistent translations check | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
danger --verbose |