-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3059132
commit 27ba029
Showing
25 changed files
with
185 additions
and
84 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"dependencyDashboard": true, | ||
"extends": [ | ||
"config:best-practices" | ||
], | ||
"ignoreDeps": [ | ||
"tektronix/python-package-ci-cd" | ||
], | ||
"ignorePaths": [ | ||
"**/requirements.txt" | ||
], | ||
"packageRules": [ | ||
{ | ||
"addLabels": [ | ||
"docker", | ||
"dependencies" | ||
], | ||
"additionalBranchPrefix": "docker-deps/", | ||
"description": "Add docker and dependencies labels to Docker dependency updates", | ||
"matchManagers": [ | ||
"dockerfile" | ||
], | ||
"semanticCommitScope": "docker-deps" | ||
}, | ||
{ | ||
"addLabels": [ | ||
"gh-actions", | ||
"dependencies" | ||
], | ||
"additionalBranchPrefix": "gh-actions-deps/", | ||
"description": "Add gh-actions and dependencies labels to GitHub Action dependency updates", | ||
"matchManagers": [ | ||
"github-actions" | ||
], | ||
"semanticCommitScope": "gh-actions-deps" | ||
}, | ||
{ | ||
"addLabels": [ | ||
"python", | ||
"dependencies" | ||
], | ||
"additionalBranchPrefix": "python-deps/", | ||
"description": "Add python and dependencies labels to Python dependency updates", | ||
"matchManagers": [ | ||
"poetry", | ||
"pip_requirements" | ||
], | ||
"semanticCommitScope": "python-deps" | ||
}, | ||
{ | ||
"description": "Group together all python-semantic-release dependencies", | ||
"groupName": "python-semantic-release dependencies", | ||
"matchPackagePatterns": [ | ||
"^python-semantic-release*" | ||
] | ||
}, | ||
{ | ||
"commitMessageSuffix": " for the {{depTypes}} group(s)", | ||
"description": "Add commit suffix for the dependency group in pyproject.toml", | ||
"matchDepTypes": [ | ||
"*" | ||
], | ||
"matchFileNames": [ | ||
"pyproject.toml" | ||
], | ||
"matchManagers": [ | ||
"poetry" | ||
], | ||
"matchPackageNames": [ | ||
"*" | ||
] | ||
} | ||
], | ||
"platformCommit": "enabled", | ||
"prHourlyLimit": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name: CodeQL | |
on: | ||
push: | ||
branches: [main] | ||
merge_group: | ||
pull_request: | ||
branches: [main] | ||
schedule: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ name: Test docs | |
on: | ||
push: | ||
branches: [main] | ||
merge_group: | ||
pull_request: | ||
branches: [main] | ||
concurrency: | ||
|
22 changes: 0 additions & 22 deletions
22
.github/workflows/update-python-and-pre-commit-dependencies.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
name: Update python dependencies | ||
on: | ||
merge_group: | ||
pull_request: | ||
branches: [main] | ||
jobs: | ||
determine-dependency-groups: | ||
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
export-groups: ${{ steps.set-output.outputs.export-groups }} | ||
steps: | ||
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
- name: Get commit message | ||
id: get-commit-message | ||
run: | | ||
commit_message="$(git log -1 --pretty=%B)" | ||
echo "commit-message=$commit_message" >> "$GITHUB_OUTPUT" | ||
- name: Determine the groups that will need to be exported | ||
id: set-output | ||
run: | | ||
commit_message="${{ steps.get-commit-message.outputs.commit-message }}" | ||
export_groups="" | ||
if [[ "$commit_message" == *"update_development_dependencies"* ]]; then | ||
export_groups+="update_development_dependencies:actions/update_development_dependencies," | ||
fi | ||
if [[ "$commit_message" == *"create_unique_testpypi_version"* ]]; then | ||
export_groups+="create_unique_testpypi_version:actions/create_unique_testpypi_version," | ||
fi | ||
if [[ "$commit_message" == *"find_unreleased_changelog_items"* ]]; then | ||
export_groups+="find_unreleased_changelog_items:actions/find_unreleased_changelog_items," | ||
fi | ||
if [[ "$commit_message" == *"tests"* ]]; then | ||
export_groups+="tests," | ||
fi | ||
if [[ "$commit_message" == *"docs"* ]]; then | ||
export_groups+="docs:doc_config," | ||
fi | ||
echo "export-groups=$export_groups" >> "$GITHUB_OUTPUT" | ||
update-python-and-pre-commit-deps: | ||
if: ${{ github.actor == 'renovate[bot]' && contains(github.head_ref, '/python-deps/') }} | ||
needs: determine-dependency-groups | ||
uses: ./.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml | ||
with: | ||
commit-user-name: ${{ vars.TEK_OPENSOURCE_NAME }} | ||
commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }} | ||
export-dependency-groups: ${{ needs.determine-dependency-groups.outputs.export-groups }} | ||
permissions: | ||
contents: write | ||
secrets: | ||
checkout-token: ${{ secrets.TEK_OPENSOURCE_TOKEN }} | ||
gpg-signing-key-private: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PRIVATE }} | ||
gpg-signing-key-passphrase: ${{ secrets.TEK_OPENSOURCE_GPG_SIGNING_KEY_PASSPHRASE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.