robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dependabot[bot]ci: bump actions/checkout in the github-actions group across 1 directory20f44076dc

master
1.1 KiB43 linesraw
1name: no_response
2on:
3  schedule:
4    - cron: '30 1 * * *' # Run every day at 01:30
5  workflow_dispatch:
6  issue_comment:
7
8permissions: {}
9
10jobs:
11  close:
12    if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
13    runs-on: ubuntu-latest
14    permissions:
15      issues: write
16      pull-requests: write
17    steps:
18      - uses: actions/checkout@v7.0.1
19        with:
20          persist-credentials: false
21
22      - uses: actions/github-script@v9
23        with:
24          script: |
25            const script = require('./.github/scripts/close_unresponsive.js')
26            await script({github, context})
27
28  remove_label:
29    if: github.event_name == 'issue_comment'
30    runs-on: ubuntu-latest
31    permissions:
32      issues: write
33      pull-requests: write
34    steps:
35      - uses: actions/checkout@v7.0.1
36        with:
37          persist-credentials: false
38
39      - uses: actions/github-script@v9
40        with:
41          script: |
42            const script = require('./.github/scripts/remove_response_label.js')
43            await script({github, context})