update workflow config

This commit is contained in:
sebthom
2024-04-04 14:24:01 +02:00
parent d1f50e9b16
commit 657eadaa59
2 changed files with 15 additions and 17 deletions

View File

@@ -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: |

View File

@@ -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 }}