diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 02bccd1..8a35b55 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,17 @@ # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file version: 2 updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - day: monday - time: "17:00" - commit-message: - prefix: ci - prefix-development: ci - include: scope - labels: - - pinned - - dependencies - - gha +- package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + time: "17:00" + commit-message: + prefix: ci + prefix-development: ci + include: scope + labels: + - pinned + - dependencies + - gha diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd2aaef..f68a009 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,7 @@ jobs: run: echo $GITHUB_CONTEXT - - name: Show environment variables + - name: "Show: environment variables" run: env | sort @@ -91,7 +91,7 @@ jobs: uses: vegardit/fast-apt-mirror.sh@v1 - - name: Git checkout + - name: Git Checkout uses: actions/checkout@v4 # https://github.com/actions/checkout diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 545e172..c4dd70e 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -3,7 +3,7 @@ name: Stale issues on: schedule: - - cron: '0 16 * * 1' + - cron: '0 15 1,15 * *' workflow_dispatch: # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ @@ -22,7 +22,6 @@ jobs: - name: Run stale action uses: actions/stale@v9 # https://github.com/actions/stale with: - repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 90 days-before-close: 14 stale-issue-message: > @@ -40,7 +39,6 @@ jobs: - name: Run stale action (for enhancements) uses: actions/stale@v9 # https://github.com/actions/stale with: - repo-token: ${{ secrets.GITHUB_TOKEN }} days-before-stale: 360 days-before-close: 14 stale-issue-message: > diff --git a/.github/workflows/update-python-deps.yml b/.github/workflows/update-python-deps.yml index f057f7f..5ca6ef1 100644 --- a/.github/workflows/update-python-deps.yml +++ b/.github/workflows/update-python-deps.yml @@ -7,8 +7,8 @@ name: Update Python Dependencies on: schedule: - # https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows - - cron: '0 5 * * *' # daily at 5 a.m. + # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows + - cron: '0 10 * * *' # daily at 10 a.m. workflow_dispatch: # https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ @@ -27,7 +27,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Show environment variables + - name: "Show: GitHub context" + env: + GITHUB_CONTEXT: ${{ toJSON(github) }} + run: echo $GITHUB_CONTEXT + + + - name: "Show: environment variables" run: env | sort @@ -41,13 +47,13 @@ jobs: private_key: ${{ secrets.DEPS_UPDATER_PRIVATE_KEY }} - - name: Git checkout + - name: Git Checkout uses: actions/checkout@v4 # https://github.com/actions/checkout with: token: ${{ steps.generate_token.outputs.token }} - - name: "Install Python and PDM" # https://github.com/pdm-project/setup-pdm + - name: "Install: Python and PDM" # https://github.com/pdm-project/setup-pdm uses: pdm-project/setup-pdm@v4 with: python-version: "${{ env.PYTHON_VERSION }}" @@ -64,7 +70,7 @@ jobs: if [[ ! -e .venv ]]; then pdm venv create || true fi - pdm install -v + pdm sync --clean -v - name: Update Python dependencies