diff --git a/.github/workflows/pip-compile.yml b/.github/workflows/pip-compile.yml index f4c64b7..74698d3 100644 --- a/.github/workflows/pip-compile.yml +++ b/.github/workflows/pip-compile.yml @@ -1,41 +1,41 @@ on: - workflow_dispatch: {} - schedule: - - cron: "20 20 * * 0" - - name: "pip-compile: create PR" - jobs: - pip_compile: - name: pip-compile - runs-on: ubuntu-latest - steps: - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: "3.8" - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y libkrb5-dev - - - name: Install tox - run: pip install tox - - - name: pip-compile - uses: technote-space/create-pr-action@v2 - with: - EXECUTE_COMMANDS: tox -e pip-compile - COMMIT_MESSAGE: 'chore: scheduled pip-compile' - COMMIT_NAME: 'GitHub Actions' - COMMIT_EMAIL: 'noreply@github.com' - GITHUB_TOKEN: ${{ secrets.PIP_COMPILE_TOKEN }} - PR_BRANCH_PREFIX: deps/ - PR_BRANCH_NAME: 'pip-compile' - PR_TITLE: 'chore: scheduled pip-compile' - PR_BODY: '## Update dependencies - - This is a scheduled update of Python dependencies within this repo managed by pip-compile. - - This change will be submitted automatically within a few days if all checks have - succeeded.' + workflow_dispatch: {} + schedule: + - cron: "20 20 * * 0" + +name: "pip-compile: create PR" +jobs: + pip_compile: + name: pip-compile + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: "3.8" + + - name: Install system dependencies + run: | + sudo apt-get update + sudo apt-get install -y libkrb5-dev + + - name: Install tox + run: pip install tox + + - name: pip-compile + uses: technote-space/create-pr-action@v2 + with: + EXECUTE_COMMANDS: tox -e pip-compile + COMMIT_MESSAGE: 'chore: scheduled pip-compile' + COMMIT_NAME: 'GitHub Actions' + COMMIT_EMAIL: 'noreply@github.com' + GITHUB_TOKEN: ${{ secrets.PIP_COMPILE_TOKEN }} + PR_BRANCH_PREFIX: deps/ + PR_BRANCH_NAME: 'pip-compile' + PR_TITLE: 'chore: scheduled pip-compile' + PR_BODY: '## Update dependencies + + This is a scheduled update of Python dependencies within this repo managed by pip-compile. + + This change will be submitted automatically within a few days if all checks have + succeeded.'