π OpenHands: AI-Driven Development
Added stale exemption for tracked issues (#3638)
mamoodi813b5a2c622d
diff --git a/.github/workflows/ghcr_app.yml b/.github/workflows/ghcr_app.ymlindex 96be1ec36b..b9d349eb68 100644--- a/.github/workflows/ghcr_app.yml+++ b/.github/workflows/ghcr_app.yml@@ -1,7 +1,6 @@# Workflow that builds, tests and then pushes the app docker images to the ghcr.io repositoryname: Build and Publish App Image-# Always run on "main"# Always run on tags# Always run on PRsdiff --git a/.github/workflows/ghcr_runtime.yml b/.github/workflows/ghcr_runtime.ymlindex 7aa1b86cfe..511bb6315a 100644--- a/.github/workflows/ghcr_runtime.yml+++ b/.github/workflows/ghcr_runtime.yml@@ -7,6 +7,10 @@ concurrency:group: ${{ github.workflow }}-${{ github.ref }}cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}+# Always run on "main"+# Always run on tags+# Always run on PRs+# Can also be triggered manuallyon:push:branches:@@ -77,12 +81,10 @@ jobs:run: make install-python-dependencies- name: Create source distribution and Dockerfilerun: poetry run python3 openhands/runtime/utils/runtime_build.py --base_image ${{ matrix.base_image.image }} --build_folder containers/runtime --force_rebuild-- name: Build and push runtime image ${{ matrix.base_image.image }}if: "!github.event.pull_request.head.repo.fork"run: |./containers/build.sh runtime ${{ github.repository_owner }} --push ${{ matrix.base_image.tag }}-# Forked repos can't push to GHCR, so we need to upload the image as an artifact- name: Build runtime image ${{ matrix.base_image.image }} for forkuses: docker/build-push-action@v6@@ -97,7 +99,6 @@ jobs:name: runtime-${{ matrix.base_image.tag }}path: /tmp/runtime-${{ matrix.base_image.tag }}.tar-# Run unit tests with the EventStream runtime Docker imagestest_runtime:name: Test Runtime@@ -117,7 +118,6 @@ jobs:haskell: truelarge-packages: trueswap-storage: true-# Forked repos can't push to GHCR, so we need to download the image as an artifact- name: Download runtime image for forkif: "github.event.pull_request.head.repo.fork"@@ -129,7 +129,6 @@ jobs:if: "github.event.pull_request.head.repo.fork"run: |docker load --input /tmp/runtime-${{ matrix.base_image }}.tar-- name: Install poetry via pipxrun: pipx install poetry- name: Set up Python@@ -165,7 +164,6 @@ jobs:base_image: ['nikolaik', 'python', 'node']steps:- uses: actions/checkout@v4-# Forked repos can't push to GHCR, so we need to download the image as an artifact- name: Download runtime image for forkif: "github.event.pull_request.head.repo.fork"@@ -177,7 +175,6 @@ jobs:if: "github.event.pull_request.head.repo.fork"run: |docker load --input /tmp/runtime-${{ matrix.base_image }}.tar-- name: Install poetry via pipxrun: pipx install poetry- name: Set up Pythondiff --git a/.github/workflows/stale.yml b/.github/workflows/stale.ymlindex 764c3fda76..4cccbce15e 100644--- a/.github/workflows/stale.yml+++ b/.github/workflows/stale.yml@@ -15,6 +15,7 @@ jobs:stale-issue-message: 'This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'stale-pr-message: 'This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.'days-before-stale: 30+ exempt-issue-labels: 'tracked'close-issue-message: 'This issue was closed because it has been stalled for over 30 days with no activity.'close-pr-message: 'This PR was closed because it has been stalled for over 30 days with no activity.'days-before-close: 7