mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-09-02 04:20:35 +00:00
feat(formatting): Add requested changes a/o 16-05-2024 @ 16:29GMT
This commit is contained in:
@@ -11,8 +11,19 @@ jobs:
|
||||
format:
|
||||
if: github.repository == 'is-a-dev/register'
|
||||
runs-on: ubuntu-latest
|
||||
permissions: [read-all, write-all]
|
||||
permissions: [read-all, write: contents]
|
||||
steps:
|
||||
run: npx prettier domains/* --check
|
||||
if github.working-directory == 'domains/':
|
||||
run: npx prettier domains/* --write
|
||||
commit:
|
||||
if: github.repository == 'is-a-dev/register'
|
||||
runs-on: ubuntu.latest
|
||||
permissions: []
|
||||
steps:
|
||||
uses: 'actions/checkout@v4'
|
||||
with:
|
||||
repository: '${{ github.repository }}'
|
||||
token: '${{ github.token }}'
|
||||
branches:
|
||||
- main
|
||||
|
||||
Reference in New Issue
Block a user