Skip to content

Commit 271a110

Browse files
authored
Remove dependabot config in favour of upstream (#1247)
Rails has started providing a `dependabot.yml` file, so instead of maintaining our own we can rely on that instead. See: #1243
1 parent 7573abc commit 271a110

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

lib/generators/suspenders/ci_generator.rb

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,14 @@ class CiGenerator < Rails::Generators::Base
66

77
source_root File.expand_path("../../templates/ci", __FILE__)
88
desc <<~MARKDOWN
9-
Uses [GitHub Actions][] for CI, and [Dependabot][] for dependency updates.
9+
Uses [GitHub Actions][] for CI
1010
1111
[GitHub Actions]: https://docs.github.com/en/actions
12-
[Dependabot]: https://docs.github.com/en/code-security/dependabot/working-with-dependabot
1312
MARKDOWN
1413

1514
def ci_files
1615
empty_directory ".github/workflows"
1716
template "ci.yml", ".github/workflows/ci.yml"
18-
template "dependabot.yml", ".github/dependabot.yaml"
1917
end
2018

2119
private

lib/generators/templates/ci/dependabot.yml

-7
This file was deleted.

test/generators/suspenders/ci_generator_test.rb

-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class CiGeneratorTest < Rails::Generators::TestCase
1515
run_generator
1616

1717
assert_file app_root(".github/workflows/ci.yml")
18-
assert_file app_root(".github/dependabot.yaml")
1918
end
2019
end
2120

@@ -25,7 +24,6 @@ class CiGeneratorTest < Rails::Generators::TestCase
2524
run_generator
2625

2726
assert_no_file app_root(".github/workflows/ci.yml")
28-
assert_no_file app_root(".github/dependabot.yaml")
2927
end
3028
end
3129
end

0 commit comments

Comments
 (0)