mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-03 17:39:42 +02:00
9c09b1a994
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
938 B
YAML
40 lines
938 B
YAML
name: Sync README Dependencies
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- requirements.txt
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
sync:
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Update README dependencies
|
|
run: python scripts/sync_readme_dependencies.py
|
|
|
|
- name: Create pull request
|
|
uses: peter-evans/create-pull-request@v8
|
|
with:
|
|
commit-message: "Sync README dependencies"
|
|
branch: auto/sync-readme-dependencies
|
|
title: "Sync README dependencies"
|
|
body: "Automated update of the Python Dependencies section in README.md to match `requirements.txt`."
|
|
labels: documentation
|
|
token: ${{ secrets.PR_TOKEN }}
|