Skip to content

Commit

Permalink
[DevOps] Update dependabot.yml to ignore patch updates on dependabot …
Browse files Browse the repository at this point in the history
…version updates(security updates will still work) (#2948)

* [DevOps] Update dependabot.yml to ignore patch updates on dependabot version upgrades(security updates will still works)

* [DevOps] Update dependabot.yml to ignore patch updates on dependabot version updates(security updates will still work)
  • Loading branch information
junw-33455432 authored Jan 4, 2024
1 parent dcbc156 commit 40c083e
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 9 deletions.
54 changes: 53 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,75 +8,127 @@ updates:
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gradle"
target-branch: "master"
directory: "/g11n-ws/vip-manager-lite-i18n/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gradle"
target-branch: "master"
directory: "/g11n-ws/vip-manager-l10n/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
target-branch: "g11n-angular-client"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gradle"
target-branch: "g11n-cldr-pattern"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "nuget"
target-branch: "g11n-csharp-client"
directory: "/singletonclient"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gomod"
target-branch: "g11n-go-client"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gomod"
target-branch: "g11n-go-service"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "gradle"
target-branch: "g11n-java-client"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
target-branch: "g11n-js-client"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "npm"
target-branch: "g11n-js-sdk"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "pip"
target-branch: "g11n-python-client"
directory: "/sgtn4python"
schedule:
interval: "weekly"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

- package-ecosystem: "bundler"
target-branch: "g11n-ruby-client"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
day: "monday"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-patch"]

15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: main
on: [pull_request, push]

jobs:
pre-process:
name: Pre process
Expand All @@ -19,6 +20,7 @@ jobs:
uses: ./.github/actions/were-only-docs-updated-action
with:
commit-range: ${{ steps.get-commit-range-action.outputs.commit-range }}

check-header:
name: Check Header
runs-on: ubuntu-latest
Expand All @@ -40,6 +42,7 @@ jobs:
git diff ${{ steps.get-commit-range-action.outputs.commit-range }} --stat
git diff --name-only --diff-filter=d ${{ steps.get-commit-range-action.outputs.commit-range }}
python ./check_headers.py -f "$(git diff --name-only --diff-filter=d ${{ steps.get-commit-range-action.outputs.commit-range }})"
unit-test:
name: Unit Test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -72,6 +75,7 @@ jobs:
with:
files: ./g11n-ws/vip-manager-lite-i18n/build/reports/jacoco.xml
flags: vip-manager-lite-i18n

security-analysis:
name: Security Analysis
runs-on: ubuntu-latest
Expand All @@ -90,13 +94,12 @@ jobs:
distribution: 'adopt'
java-version: '17'
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2


codacy-analysis-cli:
name: Codacy Analysis CLI
runs-on: ubuntu-latest
Expand All @@ -108,12 +111,8 @@ jobs:
with:
output: results.sarif
format: sarif
# Adjust severity of non-security issues
gh-code-scanning-compat: true
# Force 0 exit code to allow SARIF file generation
# This will handover control about PR rejection to the GitHub side
max-allowed-issues: 2147483647
# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@main
with:
Expand Down

0 comments on commit 40c083e

Please sign in to comment.