-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch package updates over to composite actions
- Loading branch information
1 parent
3d75055
commit 9a5074b
Showing
2 changed files
with
4 additions
and
29 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 |
---|---|---|
|
@@ -19,37 +19,11 @@ jobs: | |
with: | ||
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- uses: actions/setup-python@v4 | ||
|
||
- run: cp Pipfile.lock{,.bak} | ||
- run: pip install pipenv wheel --upgrade | ||
- run: pipenv update | ||
|
||
- id: pipfile-lock-diff | ||
run: | | ||
wget https://gist.githubusercontent.com/ddahan/215472a4aa1805160aba0a77902e40da/raw/83da35ad413b0d1bb437e2d78f5381100cd5b80e/pipenvdiff.py | ||
echo 'diff<<EOF' >> $GITHUB_OUTPUT | ||
python pipenvdiff.py Pipfile.lock{.bak,} >> $GITHUB_OUTPUT | ||
echo 'EOF' >> $GITHUB_OUTPUT | ||
- run: rm pipenvdiff.py Pipfile.lock.bak | ||
|
||
- uses: peter-evans/create-pull-request@v4 | ||
- uses: gundotio/package-updates/python@v1 | ||
with: | ||
title: Package updates | ||
body: | | ||
``` | ||
${{ steps.pipfile-lock-diff.outputs.diff }} | ||
``` | ||
author: GitHub <[email protected]> | ||
base: master | ||
title: (Deps) Package updates | ||
commit: Package updates | ||
branch: package-updates | ||
committer: GitHub <[email protected]> | ||
commit-message: | | ||
Package updates | ||
${{ steps.pipfile-lock-diff.outputs.diff }} | ||
delete-branch: true | ||
reviewers: | | ||
stevelacey | ||
wadewilliams |
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 |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
/build | ||
/coverage | ||
/dist | ||
/worf.egg-info |