diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c68d3b..022ad79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,20 +14,20 @@ on: jobs: lint: - uses: kurocado-studio/styleguide/.github/workflows/composite.lint.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main secrets: inherit test: needs: [lint] - uses: kurocado-studio/styleguide/.github/workflows/composite.test.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.test.yml@main secrets: inherit document: needs: [test] - uses: kurocado-studio/styleguide/.github/workflows/composite.document.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.document.yml@main secrets: inherit release: needs: [document] - uses: kurocado-studio/styleguide/.github/workflows/composite.release.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.release.yml@main secrets: inherit diff --git a/.github/workflows/composite.deploy.yml b/.github/workflows/workflow.deploy.yml similarity index 100% rename from .github/workflows/composite.deploy.yml rename to .github/workflows/workflow.deploy.yml diff --git a/.github/workflows/composite.document.yml b/.github/workflows/workflow.document.yml similarity index 98% rename from .github/workflows/composite.document.yml rename to .github/workflows/workflow.document.yml index 95a5637..01f6834 100644 --- a/.github/workflows/composite.document.yml +++ b/.github/workflows/workflow.document.yml @@ -14,7 +14,7 @@ env: DOCKER_VERSION: '242.21870' # Specific Docker version jobs: - check_changes: + preflight: runs-on: ubuntu-latest if: | github.event_name == 'push' && @@ -52,7 +52,7 @@ jobs: fi document: - needs: [check_changes] + needs: [preflight] if: | github.event_name == 'push' && needs.check_changes.outputs.writerside_changed == 'true' && diff --git a/.github/workflows/composite.lint.yml b/.github/workflows/workflow.lint.yml similarity index 100% rename from .github/workflows/composite.lint.yml rename to .github/workflows/workflow.lint.yml diff --git a/.github/workflows/composite.release.yml b/.github/workflows/workflow.release.yml similarity index 100% rename from .github/workflows/composite.release.yml rename to .github/workflows/workflow.release.yml diff --git a/.github/workflows/composite.test.yml b/.github/workflows/workflow.test.yml similarity index 100% rename from .github/workflows/composite.test.yml rename to .github/workflows/workflow.test.yml diff --git a/Writerside/codeSnippets/ci.yml b/Writerside/codeSnippets/ci.yml index bbad21e..a93b74c 100644 --- a/Writerside/codeSnippets/ci.yml +++ b/Writerside/codeSnippets/ci.yml @@ -14,22 +14,22 @@ on: jobs: lint: - uses: kurocado-studio/styleguide/.github/workflows/composite.lint.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main secrets: inherit test: needs: lint - uses: kurocado-studio/styleguide/.github/workflows/composite.test.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.test.yml@main secrets: inherit document: needs: test - uses: kurocado-studio/styleguide/.github/workflows/composite.document.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.document.yml@main secrets: inherit release: needs: document - uses: kurocado-studio/styleguide/.github/workflows/composite.release.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.release.yml@main secrets: inherit if: | github.event_name == 'push' && diff --git a/Writerside/topics/Code-Quality.md b/Writerside/topics/Code-Quality.md index 48335c9..38a60c6 100644 --- a/Writerside/topics/Code-Quality.md +++ b/Writerside/topics/Code-Quality.md @@ -84,7 +84,7 @@ on: jobs: code-quality: - uses: kurocado-studio/styleguide/.github/workflows/composite.lint.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main secrets: inherit ``` diff --git a/Writerside/topics/Release.md b/Writerside/topics/Release.md index 4156ca3..dddb743 100644 --- a/Writerside/topics/Release.md +++ b/Writerside/topics/Release.md @@ -131,7 +131,7 @@ on: jobs: release: - uses: kurocado-studio/styleguide/.github/workflows/composite.release.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.release.yml@main secrets: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/Writerside/topics/Test-Workflow.md b/Writerside/topics/Test-Workflow.md index 83198be..1972911 100644 --- a/Writerside/topics/Test-Workflow.md +++ b/Writerside/topics/Test-Workflow.md @@ -81,7 +81,7 @@ on: jobs: test: - uses: kurocado-studio/styleguide/.github/workflows/composite.test.yml@main + uses: kurocado-studio/styleguide/.github/workflows/workflow.test.yml@main secrets: inherit ```