Skip to content

Commit

Permalink
Tests und Linter als notwendige erfolgreiche Vorbedingung für Auto-Me…
Browse files Browse the repository at this point in the history
…rge (#329)

* Jobs genauer benannt
* Tests und Linter als notwendige erfolgreiche Vorbedingung für Auto-Merge
* Rails Updates nur Patches automatisch machen

Co-authored-by: rvoss <[email protected]>
  • Loading branch information
nbennke and ro3t committed Oct 19, 2023
1 parent 514753a commit c4c27cd
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@ updates:
directory: "/"
schedule:
interval: "weekly"
versioning-strategy: "lockfile-only"
ignore:
- dependency-name: "bootstrap"
versions: [">= 5.2", "< 6"]
- dependency-name: "rails"
update-types: ["version-update:semver-major", "version-update:semver-minor"]

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
versioning-strategy: "lockfile-only"
ignore:
# For all packages, ignore all patch updates
- dependency-name: "*"
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ permissions:
jobs:
dependabot:
runs-on: ubuntu-latest
needs:
- brakeman-scan
- coffeelint
- erblint
- eslint
- rubocop
- stylelint
- test
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-erb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ERB Templates
on: [push]

jobs:
build:
erblint:
name: ERB files
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: RuboCop
on: [push]

jobs:
build:
rubocop:
name: Run
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Rails Tests
on: [push]

jobs:
build:
test:
runs-on: ubuntu-latest
services:
postgres:
Expand Down

0 comments on commit c4c27cd

Please sign in to comment.