requirements: simplify requirements.txt files since having all module… #21
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: Requirements | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- requirements/requirements-saltbox.txt | |
workflow_dispatch: | |
jobs: | |
requirements: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: saltbox | |
- name: Checkout tools repo | |
uses: actions/checkout@v4 | |
with: | |
repository: saltyorg/sb | |
path: sb | |
token: ${{ secrets.GH_PAT }} | |
- name: Copy requirements-saltbox.txt | |
run: cp -f ./saltbox/requirements/requirements-saltbox.txt ./sb/requirements-saltbox.txt | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: Continuous Integration | |
author_email: [email protected] | |
message: 'Continuous Integration Updated requirements-saltbox.txt' | |
add: 'requirements-saltbox.txt' | |
cwd: './sb/' |