Generation of the public suffix file #17715
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: Generation of the public suffix file | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
schedule: | |
- cron: "35 */6 * * *" | |
workflow_dispatch: {} | |
env: | |
PYFUNCEBLE_AUTO_CONFIGURATION: "YES" | |
PYFUNCEBLE_CONFIG_DIR: "/tmp/.pyfunceble" | |
GIT_NAME: "${{ secrets.GIT_BOT_NAME }}" | |
GIT_EMAIL: "${{ secrets.GIT_BOT_EMAIL }}" | |
jobs: | |
generate: | |
name: Run the generator and push changes. | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: | |
- "3.12" | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Clone repository | |
- name: Set up Python ${{ matrix.python_version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python_version }} | |
- name: Install dependencies | |
run: | | |
pip install --pre PyFunceble-dev | |
- name: Get PyFunceble version | |
run: | | |
PyFunceble --version | |
- name: Run Public Suffix file generator | |
run: | | |
./update.py |