mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 02:31:45 +01:00
update workflow config
This commit is contained in:
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
@@ -7,10 +7,10 @@ name: Build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches-ignore: # build all branches except:
|
branches-ignore: # build all branches except:
|
||||||
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
|
- 'dependabot/**' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
|
||||||
- 'dependencies/pdm' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
|
- 'dependencies/pdm' # prevent GHA triggered twice (once for commit to the branch and once for opening/syncing the PR)
|
||||||
tags-ignore: # don't build tags
|
tags-ignore: # don't build tags
|
||||||
- '**'
|
- '**'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**/*.md'
|
- '**/*.md'
|
||||||
@@ -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: |
|
||||||
@@ -246,7 +249,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Git checkout
|
- name: Git checkout
|
||||||
# only required by "gh release create" to prevent "fatal: Not a git repository"
|
# only required by "gh release create" to prevent "fatal: Not a git repository"
|
||||||
uses: actions/checkout@v4 #https://github.com/actions/checkout
|
uses: actions/checkout@v4 #https://github.com/actions/checkout
|
||||||
|
|
||||||
|
|
||||||
- name: Delete untagged docker image
|
- name: Delete untagged docker image
|
||||||
@@ -297,7 +300,7 @@ jobs:
|
|||||||
|
|
||||||
|
|
||||||
- name: "Delete intermediate build artifacts"
|
- name: "Delete intermediate build artifacts"
|
||||||
uses: geekyeggo/delete-artifact@v5 # https://github.com/GeekyEggo/delete-artifact/
|
uses: geekyeggo/delete-artifact@v5 # https://github.com/GeekyEggo/delete-artifact/
|
||||||
with:
|
with:
|
||||||
name: "*"
|
name: "*"
|
||||||
failOnError: false
|
failOnError: false
|
||||||
|
|||||||
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