Skip to content

pipenv-update

pipenv-update #114

Workflow file for this run

name: pipenv-update
on:
schedule:
- cron: '8 22 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
pipenv-update:
runs-on: [self-hosted, public, linux, x64]
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_PAT_SECRET }}
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@d6f3f49f3345e29369fe57596a3ca8f94c4d2ca7 # v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4
with:
python-version: 3.7
- name: Install pipenv
run: |
python -m pip install --no-cache-dir --upgrade pipenv
- run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
pipenv update
git add -u
git commit -m "update pipenv packages"
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.PAT_TOKEN }}
title: '[AUTO-PR] Update pipenv packages'
body: |
bump pipenv packages
- Auto-generated by [pipenv-update github action](https://github.com/bridgecrewio/checkov/blob/main/.github/workflows/pipenv-update.yml)
labels: automated pr
branch: pipenvfix
branch-suffix: timestamp