Skip to content

Commit

Permalink
chore: group dependabot updates when minor/patch
Browse files Browse the repository at this point in the history
- [x] change dependabot config to group dependencies
  - leave major dependency updates to their own PR so they stand out and are tested correctly
  - prefix the PRs with `chore(deps)` to adhere to conventional commits
- [x] change GitHub Actions to use SHAs instead of tags
  - used [frizbee](https://github.com/stacklok/frizbee)
    - ran `frizbee ghactions -d .github/workflows` locally
    - also fixes formatting

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed Jun 5, 2024
1 parent fe5799f commit 9790f49
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ updates:
- "dependabot"
- "dependencies"
- "github-actions"
commit-message:
prefix: "chore(deps)"
groups:
dependencies:
applies-to: version-updates
update-types:
- "minor"
- "patch"
- package-ecosystem: "bundler"
directory: /
schedule:
Expand All @@ -18,3 +26,11 @@ updates:
- "dependabot"
- "dependencies"
- "bundler"
commit-message:
prefix: "chore(deps)"
groups:
dependencies:
applies-to: version-updates
update-types:
- "minor"
- "patch"
6 changes: 4 additions & 2 deletions .github/workflows/auto-assign-author.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: 'Auto Author Assign'

on:
pull_request_target:
types: [opened, reopened]

permissions:
contents: read
jobs:
assign-author:
permissions:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: toshimaru/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion procore.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rubocop-performance"
spec.add_development_dependency "rubocop-rails"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "sqlite3", "~>1.4"
spec.add_development_dependency "webmock"

spec.add_dependency "activesupport", "> 2.4"
Expand Down

0 comments on commit 9790f49

Please sign in to comment.