diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index 6e14155b..00000000 --- a/.github/stale.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - bug - - urgent - - pinned - - security -# Label to use when marking an issue as stale -staleLabel: stale -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. If this is still an problem, please create a new issue. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: true diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 794f5d47..987e5a86 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -1,4 +1,4 @@ -name: Statping Build and Deploy +name: Master Release on: push: branches: @@ -238,6 +238,17 @@ jobs: build/statping-windows-amd64.zip build/statping-windows-arm.zip +# - name: Upload Assets to S3 +# uses: jakejarvis/s3-sync-action@master +# with: +# args: --acl public-read --follow-symlinks --delete +# env: +# AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }} +# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} +# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} +# AWS_REGION: 'us-west-1' +# SOURCE_DIR: 'source/dist' + post-release: needs: build runs-on: ubuntu-latest diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 00000000..336cb7f4 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,17 @@ +name: Issues +on: + schedule: + - cron: "0 0 * * *" + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - name: Stale Issues + uses: actions/stale@v1.1.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue hasn't had any updates in a while. If this is still a problem, please create a new issue." + days-before-stale: 30 + days-before-close: 5 + exempt-issue-labels: "bug,urgent,feature,pinned"