--- /dev/null
+name: community-labeller
+
+on:
+ issues:
+ types:
+ - opened
+ pull_request:
+ types:
+ - opened
+
+jobs:
+ label:
+ runs-on: ubuntu-latest
+ steps:
+
+ - uses: puppetlabs/community-labeller@v0
+ name: Label issues or pull requests
+ with:
+ label_name: community
+ label_color: '5319e7'
+ org_membership: puppetlabs
+ token: ${{ secrets.IAC_COMMUNITY_LABELER }}
\ No newline at end of file
--- /dev/null
+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 }}
+ days-before-stale: 60
+ days-before-close: 7
+ stale-issue-message: 'This issue has been marked as stale because it has been open for a while and has had no recent activity. If this issue is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.'
+ stale-issue-label: 'stale'
+ stale-pr-message: 'This PR has been marked as stale because it has been open for a while and has had no recent activity. If this PR is still important to you please drop a comment below and we will add this to our backlog to complete. Otherwise, it will be closed in 7 days.'
+ stale-pr-label: 'stale'