Skip to content

Conversation

@EVDOG4LIFE
Copy link
Contributor

What does this PR do?

(Provide a description of what this PR does.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Related PRs and Issues

(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)

Have you read the Contributing Guidelines on issues?

(Write your answer here.)

@EVDOG4LIFE EVDOG4LIFE requested review from Copilot and stnguyen90 April 2, 2025 17:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new GitHub Actions workflow to automatically mark issues as stale and close them after a period of inactivity.

  • Adds a scheduled workflow (stale.yml) to mark inactive issues labeled "question" as stale after 7 days and to close them after an additional 14 days.
  • Configures custom messages for stale and closed issues.
Files not reviewed (17)
  • templates/android/.github/workflows/stale.yml: Language not supported
  • templates/apple/.github/workflows/stale.yml: Language not supported
  • templates/cli/.github/workflows/stale.yml: Language not supported
  • templates/dart/.github/workflows/stale.yml: Language not supported
  • templates/deno/.github/workflows/stale.yml: Language not supported
  • templates/dotnet/.github/workflows/stale.yml: Language not supported
  • templates/flutter/.github/workflows/stale.yml: Language not supported
  • templates/go/.github/workflows/stale.yml: Language not supported
  • templates/graphql/.github/workflows/stale.yml: Language not supported
  • templates/kotlin/.github/workflows/stale.yml: Language not supported
  • templates/node/.github/workflows/stale.yml: Language not supported
  • templates/php/.github/workflows/stale.yml: Language not supported
  • templates/python/.github/workflows/stale.yml: Language not supported
  • templates/react-native/.github/workflows/stale.yml: Language not supported
  • templates/rest/.github/workflows/stale.yml: Language not supported
  • templates/ruby/.github/workflows/stale.yml: Language not supported
  • templates/swift/.github/workflows/stale.yml: Language not supported
Comments suppressed due to low confidence (1)

templates/web/.github/workflows/stale.yml:23

  • Double-check that 'only-labels' is correctly configured for your issue labeling strategy; if you intend to target multiple labels, consider updating the format to a comma-separated list as required by the action.
          only-labels: "question"

Copy link
Contributor

@stnguyen90 stnguyen90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of putting the same thing in every repo, let's put it in a central place and then call it from the other repos. Kind of like how we did for autoclose.yml

  1. workflow in .github repo
  2. calling it in the sdk repo

@EVDOG4LIFE EVDOG4LIFE requested review from Copilot and stnguyen90 April 2, 2025 23:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new workflow for marking stale issues via GitHub Actions.

  • Creates a new workflow file in the "templates/web/.github/workflows" folder.
  • Schedules the workflow to run daily at midnight.
Files not reviewed (17)
  • templates/android/.github/workflows/stale.yml: Language not supported
  • templates/apple/.github/workflows/stale.yml: Language not supported
  • templates/cli/.github/workflows/stale.yml: Language not supported
  • templates/dart/.github/workflows/stale.yml: Language not supported
  • templates/deno/.github/workflows/stale.yml: Language not supported
  • templates/dotnet/.github/workflows/stale.yml: Language not supported
  • templates/flutter/.github/workflows/stale.yml: Language not supported
  • templates/go/.github/workflows/stale.yml: Language not supported
  • templates/graphql/.github/workflows/stale.yml: Language not supported
  • templates/kotlin/.github/workflows/stale.yml: Language not supported
  • templates/node/.github/workflows/stale.yml: Language not supported
  • templates/php/.github/workflows/stale.yml: Language not supported
  • templates/python/.github/workflows/stale.yml: Language not supported
  • templates/react-native/.github/workflows/stale.yml: Language not supported
  • templates/rest/.github/workflows/stale.yml: Language not supported
  • templates/ruby/.github/workflows/stale.yml: Language not supported
  • templates/swift/.github/workflows/stale.yml: Language not supported


jobs:
stale:
uses: appwrite/.github/.github/workflows/stale.yml@main No newline at end of file
Copy link

Copilot AI Apr 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The workflow reference path appears to include a duplicate '.github' folder. Consider updating it to 'appwrite/.github/workflows/stale.yml@main' if that is the correct path.

Suggested change
uses: appwrite/.github/.github/workflows/stale.yml@main
uses: appwrite/.github/workflows/stale.yml@main

Copilot uses AI. Check for mistakes.
@stnguyen90 stnguyen90 merged commit 182ec17 into master Apr 2, 2025
37 checks passed
@stnguyen90 stnguyen90 deleted the stale branch April 2, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants