ci: remove dependabot (#1696)

da5892faad introduced renovate to Authelia.
Now that it has been evaluated dependabot is no longer necessary and can be removed.
This commit is contained in:
Amir Zarrinkafsh 2021-02-04 13:06:23 +11:00 committed by GitHub
parent 0b4f54081e
commit aac5170ddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 57 deletions

View File

@ -14,7 +14,7 @@ steps:
if: build.branch != "master"
- wait:
if: build.pull_request.repository.fork != true && build.branch !~ /^(dependabot|renovate)\/.*/
if: build.pull_request.repository.fork != true && build.branch !~ /^renovate\/.*/
# Manual intervention by team required to deploy for forked PRs (prevent secret leakage).
- block: "Public fork needs approval"
@ -32,7 +32,7 @@ steps:
- label: ":rocket: Setup Deployment"
command: ".buildkite/deployment.sh | buildkite-agent pipeline upload"
depends_on: ~
if: build.branch != "master" && build.branch !~ /^(dependabot|renovate)\/.*/ && build.pull_request.repository.fork != true
if: build.branch != "master" && build.branch !~ /^renovate\/.*/ && build.pull_request.repository.fork != true
# Removed dependency optimisation for forked PRs to enforce block step.
- label: ":rocket: Setup Deployment"

View File

@ -33,7 +33,7 @@ cat << EOF
EOF
else
cat << EOF
if: build.branch !~ /^(dependabot|renovate)\/.*/
if: build.branch !~ /^renovate\/.*/
EOF
fi
done

View File

@ -1,50 +0,0 @@
version: 1
update_configs:
- package_manager: "go:modules"
directory: "/"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "javascript"
directory: "/web"
update_schedule: "live"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "ruby:bundler"
directory: "/docs"
update_schedule: "live"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "docker"
directory: "/"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "docker"
directory: "/internal/suites/example/compose/authelia"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "docker"
directory: "/internal/suites/example/compose/haproxy"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "docker"
directory: "/internal/suites/example/compose/duo-api"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true
- package_manager: "docker"
directory: "/internal/suites/example/compose/kind"
update_schedule: "daily"
commit_message:
prefix: "[MISC] "
include_scope: true

4
.github/probot.js vendored
View File

@ -4,10 +4,6 @@ on('pull_request.opened')
context =>
context.payload.pull_request.head.label.slice(0, 9) === 'authelia:'
)
.filter(
context =>
context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/'
)
.filter(
context =>
context.payload.pull_request.head.ref.slice(0, 9) !== 'renovate/'

2
go.sum
View File

@ -375,11 +375,13 @@ github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cobra v1.1.1 h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4=
github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI=
github.com/spf13/jwalterweatherman v1.0.0 h1:XHEdyB+EcvlqZamSM4ZOMGlc93t6AcsBEu9Gc1vn7yk=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
github.com/spf13/viper v1.7.1 h1:pM5oEahlgWv/WnHXpgbKz7iLIxRf65tye2Ci+XFK5sk=