Skip to content

Commit

Permalink
Pipenv workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
stevelacey committed Jan 22, 2023
1 parent 67a121f commit cff47d7
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pipenv-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pipenv install

on:
workflow_dispatch:
inputs:
packages:
required: true
options: ~

jobs:
pipenv-install:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}

- uses: actions/setup-python@v4

- run: pip install --disable-pip-version-check pipenv wheel --upgrade
- run: pipenv install ${{ inputs.options }} ${{ inputs.packages }}

- run: git config --global user.name 'GitHub'
- run: git config --global user.email '[email protected]'
- run: git commit -am "Pipenv install ${{ inputs.packages }}"
- run: git push
23 changes: 23 additions & 0 deletions .github/workflows/pipenv-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pipenv lock

on:
workflow_dispatch: ~

jobs:
pipenv-lock:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}

- uses: actions/setup-python@v4

- run: pip install --disable-pip-version-check pipenv wheel --upgrade
- run: pipenv lock

- run: git config --global user.name 'GitHub'
- run: git config --global user.email '[email protected]'
- run: git commit -am "Pipenv lock"
- run: git push

0 comments on commit cff47d7

Please sign in to comment.