Skip to content

Commit

Permalink
feat: improve biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
xmlking committed May 24, 2024
1 parent 4749cb5 commit 83cb181
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
### Checks Reusable Workflow ###
name: Checks

on:
# allow workflow to be called from other workflows
workflow_call:
# allow workflow to be called from github.com UI
workflow_dispatch:
push:
# This should disable running the workflow on tags, according to the
branches-ignore: [main]
tags-ignore:
- '**'


concurrency:
group: checks-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
# cancel jobs on PRs only
cancel-in-progress: true

permissions:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
pull_request:
types: [opened, reopened, edited, synchronize]
branches: [main]
# allow workflow to be called from github.com UI
workflow_dispatch:
# push:
# # This should disable running the workflow on tags
# branches: [main]
# tags-ignore:
# - '**'

concurrency:
group: pr-${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.ref }}
Expand Down

0 comments on commit 83cb181

Please sign in to comment.