-
-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into optimize
- Loading branch information
Showing
3 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
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,48 @@ | ||
--- | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Allow up to 1 open pull requests | ||
open-pull-requests-limit: 1 | ||
# Add reviewers | ||
reviewers: | ||
- abhinavsingh | ||
|
||
# Maintain dependencies for npm | ||
- package-ecosystem: "npm" | ||
directory: "/dashboard" | ||
schedule: | ||
interval: "daily" | ||
# Allow up to 1 open pull requests | ||
open-pull-requests-limit: 1 | ||
reviewers: | ||
- abhinavsingh | ||
# Prefix all commit messages with "npm" | ||
commit-message: | ||
prefix: "npm" | ||
|
||
# Maintain dependencies for pip | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
# Allow up to 1 open pull requests | ||
open-pull-requests-limit: 1 | ||
reviewers: | ||
- abhinavsingh | ||
# Include a list of updated dependencies | ||
# with a prefix determined by the dependency group | ||
commit-message: | ||
prefix: "pip prod" | ||
prefix-development: "pip dev" | ||
include: "scope" | ||
... |
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 |
---|---|---|
|
@@ -265,11 +265,7 @@ jobs: | |
- name: Setup git user as [bot] | ||
if: >- | ||
fromJSON(needs.pre-setup.outputs.is-untagged-devel) | ||
run: > | ||
git config --local user.email | ||
'github-actions[bot]@users.noreply.github.com' | ||
git config --local user.name 'github-actions[bot]' | ||
uses: fregante/[email protected] | ||
- name: >- | ||
Tag the release in the local Git repo | ||
as ${{ needs.pre-setup.outputs.git-tag }} | ||
|
@@ -755,11 +751,7 @@ jobs: | |
fetch-depth: 1 | ||
ref: ${{ github.event.inputs.release-commitish }} | ||
- name: Setup git user as [bot] | ||
run: > | ||
git config --local user.email | ||
'github-actions[bot]@users.noreply.github.com' | ||
git config --local user.name 'github-actions[bot]' | ||
uses: fregante/[email protected] | ||
|
||
- name: >- | ||
Tag the release in the local Git repo | ||
|
@@ -772,4 +764,38 @@ jobs: | |
to the just published release back to GitHub | ||
run: >- | ||
git push --atomic origin '${{ needs.pre-setup.outputs.git-tag }}' | ||
publish-github-release: | ||
name: >- | ||
Publish a GitHub Release for | ||
${{ needs.pre-setup.outputs.git-tag }} | ||
needs: | ||
- post-release-repo-update | ||
- pre-setup # transitive, for accessing settings | ||
runs-on: Ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
- name: >- | ||
Publish a GitHub Release for | ||
${{ needs.pre-setup.outputs.git-tag }} | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
# body/body_path: # FIXME: Use once Towncrier is integrated. | ||
discussion_category_name: Announcements | ||
fail_on_unmatched_files: true | ||
files: | | ||
dist/${{ needs.pre-setup.outputs.sdist-artifact-name }} | ||
dist/${{ needs.pre-setup.outputs.wheel-artifact-name }} | ||
name: ${{ needs.pre-setup.outputs.git-tag }} | ||
tag_name: ${{ needs.pre-setup.outputs.git-tag }} | ||
target_commitish: ${{ github.event.inputs.release-commitish }} | ||
... |
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