chore(deps): bump psutil from 5.9.8 to 6.1.0 (#125) #111
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
--- | |
name: Create Master Slug List on PR Merge | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
id: setup_python | |
with: | |
python-version: '3.9' | |
- name: cache virtualenv | |
uses: actions/cache@v4 | |
id: cache-venv | |
with: | |
path: ${{ env.pythonLocation }} | |
key: ${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-${{ steps.setup_python.outputs.python-version }}-${{ env.pythonLocation }}- | |
- name: Install dependencies | |
shell: bash | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
if: steps.cache-venv.outputs.cache-hit != 'true' | |
- name: Regenerate Master Slug List | |
run: python3 tests/generate-slug-list.py | |
- name: Commit and Push Changes to Master | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: NetBox-Bot | |
author_email: [email protected] | |
committer_name: NetBox-Bot | |
committer_email: [email protected] | |
default_author: github_actions | |
message: "Regenerate master slug list after successful PR merge" | |
push: true |