mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
update workflow config
This commit is contained in:
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@@ -34,10 +34,12 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
|
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
|
||||||
|
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
@@ -72,6 +74,11 @@ jobs:
|
|||||||
- name: Show environment variables
|
- name: Show environment variables
|
||||||
run: env | sort
|
run: env | sort
|
||||||
|
|
||||||
|
|
||||||
|
- name: Configure Fast APT Mirror
|
||||||
|
uses: vegardit/fast-apt-mirror.sh@v1
|
||||||
|
|
||||||
|
|
||||||
- name: Git checkout
|
- name: Git checkout
|
||||||
uses: actions/checkout@v4 # https://github.com/actions/checkout
|
uses: actions/checkout@v4 # https://github.com/actions/checkout
|
||||||
|
|
||||||
@@ -80,10 +87,6 @@ jobs:
|
|||||||
uses: toblux/start-clamd-github-action@v0.2
|
uses: toblux/start-clamd-github-action@v0.2
|
||||||
|
|
||||||
|
|
||||||
- name: Configure Fast APT Mirror
|
|
||||||
uses: vegardit/fast-apt-mirror.sh@v1
|
|
||||||
|
|
||||||
|
|
||||||
- name: "Install: Chromium Browser"
|
- name: "Install: Chromium Browser"
|
||||||
if: env.ACT == 'true' && startsWith(matrix.os, 'ubuntu')
|
if: env.ACT == 'true' && startsWith(matrix.os, 'ubuntu')
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
9
.github/workflows/stale.yml
vendored
9
.github/workflows/stale.yml
vendored
@@ -1,18 +1,13 @@
|
|||||||
# SPDX-FileCopyrightText: © Sebastian Thomschke and contributors
|
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
||||||
# SPDX-ArtifactOfProjectHomePage: https://github.com/Second-Hand-Friends/kleinanzeigen-bot/
|
|
||||||
#
|
|
||||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
||||||
name: Stale issues
|
name: Stale issues
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 16 * * *'
|
- cron: '0 16 * * 1'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
|
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # only for delete-branch option
|
|
||||||
issues: write
|
issues: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
|
|
||||||
@@ -42,7 +37,7 @@ jobs:
|
|||||||
pinned
|
pinned
|
||||||
security
|
security
|
||||||
|
|
||||||
- name: Run stale action
|
- name: Run stale action (for enhancements)
|
||||||
uses: actions/stale@v9 # https://github.com/actions/stale
|
uses: actions/stale@v9 # https://github.com/actions/stale
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user