diff --git a/.gitea/scoped_workflows/static-go.yaml b/.gitea/scoped_workflows/static-go.yaml index 6f61c78..a0a76c1 100644 --- a/.gitea/scoped_workflows/static-go.yaml +++ b/.gitea/scoped_workflows/static-go.yaml @@ -22,10 +22,10 @@ jobs: with: go-version-file: 'go.mod' - - name: Check and Run `make workflow-init` + - name: Check and Run `make` Default Target run: | - if make -n workflow-init > /dev/null 2>&1; then - make workflow-init + if command -v make &> /dev/null; then + make fi - name: Initialize Go diff --git a/.gitea/scoped_workflows/style-web.yaml b/.gitea/scoped_workflows/style-web.yaml index 59ce1d9..c67452f 100644 --- a/.gitea/scoped_workflows/style-web.yaml +++ b/.gitea/scoped_workflows/style-web.yaml @@ -22,10 +22,10 @@ jobs: - name: Initialize Runner uses: actions/setup-node@v4 - - name: Check and Run `make workflow-init` + - name: Check and Run `make` Default Target run: | - if make -n workflow-init > /dev/null 2>&1; then - make workflow-init + if command -v make &> /dev/null; then + make fi - name: Install Linters @@ -59,8 +59,13 @@ jobs: if: always() run: | CONFIG_FILE="dev_config/.stylelintrc.json" + IGNORE_FILE="dev_config/.stylelintignore" if [ -f "$CONFIG_FILE" ]; then - npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css' + if [ -f "$IGNORE_FILE" ]; then + npx stylelint --config "$CONFIG_FILE" --ignore-path "$IGNORE_FILE" --formatter verbose '**/*.css' + else + npx stylelint --config "$CONFIG_FILE" --formatter verbose '**/*.css' + fi fi - name: Run eslint