Skip to content

Commit

Permalink
Adding autoclose workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EVDOG4LIFE committed Sep 24, 2024
1 parent 98cc688 commit e193223
Show file tree
Hide file tree
Showing 18 changed files with 198 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/android/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/apple/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/cli/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/dart/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/deno/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/dotnet/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/flutter/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/go/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/graphql/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/kotlin/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/node/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/php/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/python/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/react-native/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/rest/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/ruby/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/swift/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}
11 changes: 11 additions & 0 deletions templates/web/.github/workflows/autoclose.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit e193223

Please sign in to comment.