Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 8 additions & 19 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
version: 2
updates:
- package-ecosystem: docker
commit-message:
prefix: fix
directory: /
schedule:
interval: weekly

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "pip"
commit-message:
prefix: fix
directory: "/"
schedule:
interval: "daily"
- commit-message:
prefix: fix
directory: /
package-ecosystem: github-actions
reviewers: []
schedule:
interval: daily
version: 2
32 changes: 32 additions & 0 deletions .github/workflows/commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
jobs:
commitlint:
name: commitlint
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 100
fetch-tags: true
submodules: true
- uses: actions/setup-node@v4
with:
node-version: '18'
- name: Install commitlint
run: |
if [ -f package.json ]; then
rm package*.json
fi
npm install -g @commitlint/cli @commitlint/config-conventional
if [ ! -f "commitlint.config.js" ]; then
echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js
fi
- if: github.event_name == 'push'
name: Lint Commit Message
run: commitlint --from=HEAD~1 --verbose
- if: github.event_name == 'pull_request'
name: Lint Pull Request
run: commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
name: COMMIT LINT
'on':
pull_request: {}
push: {}
run-name: COMMIT LINT
35 changes: 35 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
jobs:
dependabot:
if: github.event.pull_request.user.login == 'dependabot[bot]'
name: dependabot
steps:
- env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
name: Enable auto-merge for Dependabot
run: gh pr merge --auto --merge "$PR_URL"
devopsbot:
if: github.event.pull_request.title == 'devopsbot update'
name: devopsbot
steps:
- env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
name: Enable auto-merge for Dependabot
run: gh pr merge --auto --merge "$PR_URL"
rennovatebot:
if: github.event.pull_request.user.login == 'renovate_bot'
name: rennovatebot
steps:
- env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
name: Enable auto-merge for Dependabot
run: gh pr merge --auto --merge "$PR_URL"
name: Dependabot Auto-Merge
'on':
pull_request: {}
permissions:
contents: write
pull-requests: write
run-name: Dependabot Auto-Merge
3 changes: 3 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}
Loading