Skip to content

Commit

Permalink
SqlServerDsc: Switch to GitHub Action Stale (#1667)
Browse files Browse the repository at this point in the history
- SqlServerDsc
  - Switch to GitHub Action Stale instead of GitHub App (Probot) Stale.
  • Loading branch information
johlju committed Jan 23, 2021
1 parent c392042 commit c00e23a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/stale.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mark stale issues and pull requests

on:
schedule:
- cron: "30 1 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 40 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.'
close-issue-message: 'This issue has been automatically closed because it is has not had activity from the community in the last 40 days. If this issue was wrongly closed, for a issue author please comment and re-open it, if you are not the issue author comment with a reason for it to be reopened and tag a maintainer in the comment.'
days-before-issue-stale: 30
days-before-issue-close: 40
exempt-issue-labels: 'bug,enhancement,tests,documentation,resource proposal,on hold,resolved'
stale-issue-label: 'stale'
stale-pr-message: 'Labeling this pull request (PR) as abandoned since it has gone 14 days or more since the last update. An abandoned PR can be continued by another contributor. The abandoned label will be removed if work on this PR is taken up again.'
days-before-pr-stale: 14
days-before-pr-close: -1
exempt-pr-labels: 'needs review,on hold,ready for merge'
stale-pr-label: 'abandoned'
remove-stale-when-updated: true
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
hinders development and testing on macOS and Linux. Instead the
resources have been update to use the helper function `Get-ComputerName`
which returns the current computer name cross-plattform.
- Switch to GitHub Action Stale instead of GitHub App (Probot) Stale.

### Fixed

Expand Down

0 comments on commit c00e23a

Please sign in to comment.