mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
ci: update workflow config
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
|
||||
|
||||
4
.github/workflows/stale.yml
vendored
4
.github/workflows/stale.yml
vendored
@@ -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: >
|
||||
|
||||
18
.github/workflows/update-python-deps.yml
vendored
18
.github/workflows/update-python-deps.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user