From e193223eaa76ba4174ce24810f69df6b886fa4b1 Mon Sep 17 00:00:00 2001 From: Evan Date: Tue, 24 Sep 2024 15:14:48 -0700 Subject: [PATCH] Adding autoclose workflow --- templates/android/.github/workflows/autoclose.yml | 11 +++++++++++ templates/apple/.github/workflows/autoclose.yml | 11 +++++++++++ templates/cli/.github/workflows/autoclose.yml | 11 +++++++++++ templates/dart/.github/workflows/autoclose.yml | 11 +++++++++++ templates/deno/.github/workflows/autoclose.yml | 11 +++++++++++ templates/dotnet/.github/workflows/autoclose.yml | 11 +++++++++++ templates/flutter/.github/workflows/autoclose.yml | 11 +++++++++++ templates/go/.github/workflows/autoclose.yml | 11 +++++++++++ templates/graphql/.github/workflows/autoclose.yml | 11 +++++++++++ templates/kotlin/.github/workflows/autoclose.yml | 11 +++++++++++ templates/node/.github/workflows/autoclose.yml | 11 +++++++++++ templates/php/.github/workflows/autoclose.yml | 11 +++++++++++ templates/python/.github/workflows/autoclose.yml | 11 +++++++++++ .../react-native/.github/workflows/autoclose.yml | 11 +++++++++++ templates/rest/.github/workflows/autoclose.yml | 11 +++++++++++ templates/ruby/.github/workflows/autoclose.yml | 11 +++++++++++ templates/swift/.github/workflows/autoclose.yml | 11 +++++++++++ templates/web/.github/workflows/autoclose.yml | 11 +++++++++++ 18 files changed, 198 insertions(+) create mode 100644 templates/android/.github/workflows/autoclose.yml create mode 100644 templates/apple/.github/workflows/autoclose.yml create mode 100644 templates/cli/.github/workflows/autoclose.yml create mode 100644 templates/dart/.github/workflows/autoclose.yml create mode 100644 templates/deno/.github/workflows/autoclose.yml create mode 100644 templates/dotnet/.github/workflows/autoclose.yml create mode 100644 templates/flutter/.github/workflows/autoclose.yml create mode 100644 templates/go/.github/workflows/autoclose.yml create mode 100644 templates/graphql/.github/workflows/autoclose.yml create mode 100644 templates/kotlin/.github/workflows/autoclose.yml create mode 100644 templates/node/.github/workflows/autoclose.yml create mode 100644 templates/php/.github/workflows/autoclose.yml create mode 100644 templates/python/.github/workflows/autoclose.yml create mode 100644 templates/react-native/.github/workflows/autoclose.yml create mode 100644 templates/rest/.github/workflows/autoclose.yml create mode 100644 templates/ruby/.github/workflows/autoclose.yml create mode 100644 templates/swift/.github/workflows/autoclose.yml create mode 100644 templates/web/.github/workflows/autoclose.yml diff --git a/templates/android/.github/workflows/autoclose.yml b/templates/android/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/android/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/apple/.github/workflows/autoclose.yml b/templates/apple/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/apple/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/cli/.github/workflows/autoclose.yml b/templates/cli/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/cli/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/dart/.github/workflows/autoclose.yml b/templates/dart/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/dart/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/deno/.github/workflows/autoclose.yml b/templates/deno/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/deno/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/dotnet/.github/workflows/autoclose.yml b/templates/dotnet/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/dotnet/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/flutter/.github/workflows/autoclose.yml b/templates/flutter/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/flutter/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/go/.github/workflows/autoclose.yml b/templates/go/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/go/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/graphql/.github/workflows/autoclose.yml b/templates/graphql/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/graphql/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/kotlin/.github/workflows/autoclose.yml b/templates/kotlin/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/kotlin/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/node/.github/workflows/autoclose.yml b/templates/node/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/node/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/php/.github/workflows/autoclose.yml b/templates/php/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/php/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/python/.github/workflows/autoclose.yml b/templates/python/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/python/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/react-native/.github/workflows/autoclose.yml b/templates/react-native/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/react-native/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/rest/.github/workflows/autoclose.yml b/templates/rest/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/rest/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/ruby/.github/workflows/autoclose.yml b/templates/ruby/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/ruby/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/swift/.github/workflows/autoclose.yml b/templates/swift/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/swift/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file diff --git a/templates/web/.github/workflows/autoclose.yml b/templates/web/.github/workflows/autoclose.yml new file mode 100644 index 000000000..4f2a8eedb --- /dev/null +++ b/templates/web/.github/workflows/autoclose.yml @@ -0,0 +1,11 @@ +name: Auto-close External Pull Requests + +on: + pull_request_target: + types: [opened, reopened] + +jobs: + auto_close: + uses: appwrite/.github/.github/workflows/autoclose.yml@main + secrets: + GH_AUTO_CLOSE_PR_TOKEN: ${{ secrets.GH_AUTO_CLOSE_PR_TOKEN }} \ No newline at end of file