Skip to content

Commit

Permalink
BUILD - Add condition to run Check Linter Errors workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juansecu committed Feb 25, 2024
1 parent 602db92 commit 353a8e9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/check-linter-errors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- opened
- reopened
- synchronize
push:
tags:
- 'v*.*.*'

jobs:
check-linter-errors:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Create Release

on:
push:
tags:
- 'v*.*.*'
workflow_run:
types:
- completed
workflows:
- Check Linter Errors
push:
tags:
- 'v*.*.*'

jobs:
build:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
uses: vimtor/action-zip@v1.1
with:
dest: github-discord-updater-${{ github.ref_name }}.zip
files: dist/ package.json pnpm-lock.yaml
files: dist/* package.json pnpm-lock.yaml
- name: Release application
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 353a8e9

Please sign in to comment.