From 735335a83bbc4895b0a78c590b971d42650daf24 Mon Sep 17 00:00:00 2001 From: Shahar Kazaz Date: Fri, 20 Sep 2024 20:03:32 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20add=20stale=20issues=20wor?= =?UTF-8?q?kflow=20+=20actionlint=20(#802)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/reviewdog.yml | 16 ++++++++++++++++ .github/workflows/stale-issues.yml | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/workflows/reviewdog.yml create mode 100644 .github/workflows/stale-issues.yml diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 00000000..12eb996a --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,16 @@ +name: reviewdog + +on: + pull_request: + paths: + - '.github/**/*.yml' + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: reviewdog/action-actionlint@v1 + with: + fail_on_error: true diff --git a/.github/workflows/stale-issues.yml b/.github/workflows/stale-issues.yml new file mode 100644 index 00000000..81a58081 --- /dev/null +++ b/.github/workflows/stale-issues.yml @@ -0,0 +1,15 @@ +name: Mark stale issues +on: + schedule: + - cron: '30 1 * * *' # Runs daily at 01:30 UTC +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is missing information/reproduction for 3 weeks with no activity. Please provide the required information/reproduction or this issue will be closed in 7 days.' + days-before-stale: 21 + only-labels: 'Missing reproduction,Missing information' + days-before-pr-stale: -1 # Exclude PRs + days-before-pr-close: -1 # Exclude PRs