Skip to content

Commit

Permalink
chore(ci): move close action to separate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed May 11, 2023
1 parent 7ea5e6b commit 529cc25
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ env:
CROWDIN_BRANCH: v3

jobs:
close:
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/next') && github.repository_owner == 'vuetifyjs'
steps:
- uses: vuetifyjs/close-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

pre_job:
runs-on: ubuntu-latest
outputs:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/close-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close issues
on:
push:
branches:
- dev
- next
- v2-stable
- v2-dev

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
close:
runs-on: ubuntu-latest
if: github.repository_owner == 'vuetifyjs'
steps:
- uses: vuetifyjs/close-action@master
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 529cc25

Please sign in to comment.