Skip to content

Commit

Permalink
GRAL-4409 added issue auto-close workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Reivilo85k committed Aug 29, 2024
1 parent 9ebac7b commit 9540beb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/auto-close-stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto-close stale issues

on:
schedule:
- cron: "0 7 * * 0" # Runs the action on Sundays at 7am UTC

jobs:
close-stale-issues:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v5
with:
days-before-stale: 150 # 5 months
days-before-close: 30 # 30 days after marking stale (total of 6 months)
stale-issue-message: "This issue has been marked as stale due to inactivity. It will be closed in 30 days if no further activity occurs."
close-issue-message: "Closing this issue due to 6 months of inactivity."
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions autolad.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
require_once('/path/to/pipedrive/vendor/autoload.php');

0 comments on commit 9540beb

Please sign in to comment.