diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000..0a768d3 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,26 @@ +# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time. +# +# You can adjust the behavior by modifying this file. +# For more information, see: +# https://github.com/actions/stale +name: Close stale issues + +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + + runs-on: ubuntu-latest + permissions: + issues: write + + steps: + - uses: actions/stale@v7 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' + days-before-stale: 30 + days-before-close: 5 + stale-issue-label: 'stale' diff --git a/README.md b/README.md index 128e3b8..fdc7162 100644 --- a/README.md +++ b/README.md @@ -107,12 +107,21 @@ jobs: ## Issues -Almost 95% of the issues are related to wrong SSH connection. +This is a Github Action wrapping `rsync` via `ssh`. Only issues with action functionality can be fixed here. + +Almost 95% of the issues are related to wrong SSH connection or `rsync` params and permissions. +This issues are not related to the action itself. + +- Check manually your ssh connection from your client before opening a bug report. +- Check `rsync` params for your usecase. Default params are not going to be enough wor everyone, it highly depends on your setup. +- Check manually your rsync command from your client before opening a bug report. + I've added e2e test for this action. +Real example is executed on every PR merge to `main`. Check actions tab for example. -Check manually your ssh connection from your client before opening a bug report. -Thanks. +More info for SSH keys: https://www.ssh.com/ssh/public-key-authentication + ## Disclaimer diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 14a8b24..6f31251 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,3 +1,10 @@ +# [3.1.0](https://github.com/easingthemes/ssh-deploy/compare/v3.0.1...v3.1.0) (2022-12-31) + + +### Features + +* add e2e tests ([40f855a](https://github.com/easingthemes/ssh-deploy/commit/40f855a08b4911c3f54b7a45306af355c6d87277)) + ## [3.0.1](https://github.com/easingthemes/ssh-deploy/compare/v3.0.0...v3.0.1) (2022-10-28) diff --git a/package.json b/package.json index 41d082c..756b0ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@draganfilipovic/ssh-deploy", - "version": "3.0.1", + "version": "3.1.0", "description": "Fast NodeJS action to deploy specific directory from `GITHUB_WORKSPACE` to a server via rsync over ssh.", "main": "dist/index.js", "files": [