Skip to content

Commit

Permalink
Add Github actions stale and first-interaction workflow (#1054)
Browse files Browse the repository at this point in the history
* Add Github actions workflow

Signed-off-by: Florian Ruschbaschan <[email protected]>

* Change secret name

Signed-off-by: Florian Ruschbaschan <[email protected]>
  • Loading branch information
floruschbaschan authored Jan 11, 2021
1 parent 6df3a04 commit 2191db4
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .github/config.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/no-response.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/first-interaction.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: First User Interaction

on: [pull_request]

jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.PAT_SECRET }}
pr-message: |-
Thanks @${{ github.actor }} for taking the time to contribute to hawkBit! We really appreciate this. Make yourself comfortable while I'm looking for a committer to help you with your contribution.
Please make sure you read the [contribution guide](https://github.com/eclipse/hawkbit/blob/master/CONTRIBUTING.md) and signed the Eclipse Contributor Agreement (ECA).
23 changes: 23 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Mark & close stale issues

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.PAT_SECRET }}
days-before-stale: -1
days-before-close: 15
stale-issue-label: 'awaiting'
close-issue-message: |-
There has been no response from the original author so I closed this issue.
Please reach out if you have or find the answers we need so that we can investigate further.
only-labels: 'awaiting'
skip-stale-issue-message: 'true'
skip-stale-pr-message: 'true'

0 comments on commit 2191db4

Please sign in to comment.