Investigate why we don't receive smartd emails from ovh3 (and others ?) #1297
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
on: | |
issues: | |
issue_comment: | |
push: | |
branches: [develop] | |
jobs: | |
readme-writer: | |
name: Write README.md | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: develop | |
# we use a personal access token of openfoodfacts-bot to allow bypassing branch protection rules | |
token: "${{ secrets.README_WRITER_PAT }}" | |
- name: Set up python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.9' | |
- run: | | |
pip install -r scripts/readme-writer/requirements.txt | |
python scripts/readme-writer/readme_writer.py | |
cat README.md | |
- name: Commit README.md | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
branch: develop | |
repository: . | |
file_pattern: README.md | |
commit_message: Update README.md | |
commit_options: '--no-verify --signoff' |