diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000..a77c69e --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,27 @@ +name: 'Stale issue handler' +on: + workflow_dispatch: + schedule: + - cron: '0 17 * * *' # 17:00 UTC; 10:00 PDT + +permissions: + issues: write + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v4.0.0 + id: stale + with: + stale-issue-label: 'stale' + stale-issue-message: 'This issue has been marked stale because it has been open for 14 days with no activity. Please remove the stale label or comment on this issue, or the issue will be automatically closed in the next 14 days.' + days-before-stale: 14 + days-before-pr-stale: -1 + days-before-close: 14 + days-before-pr-close: -1 + exempt-issue-labels: 'blocked,must,should,keep,pinned,work-in-progress,request,announcement' + close-issue-message: 'This issue has been marked stale for 14 days and will now be closed. If this issue is still valid, please ping a maintainer.' + - name: Print outputs + run: echo ${{ join(steps.stale.outputs.*, ',') }} + \ No newline at end of file diff --git a/com.unity.robotics.ros-tcp-connector/CHANGELOG.md b/com.unity.robotics.ros-tcp-connector/CHANGELOG.md index 5ca2b3a..abb3922 100644 --- a/com.unity.robotics.ros-tcp-connector/CHANGELOG.md +++ b/com.unity.robotics.ros-tcp-connector/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a ## Unreleased +Add the [Close Stale Issues](https://github.com/marketplace/actions/close-stale-issues) action + ### Upgrade Notes Upgrade the TestRosTcpConnector project to use Unity LTS version 2020.3.11f1