Skip to content

Commit

Permalink
refactor(config): properly renames workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 24, 2024
1 parent 8870efe commit 5fc7b41
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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' &&
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
fi
document:
needs: [check_changes]
needs: [preflight]
if: |
github.event_name == 'push' &&
needs.check_changes.outputs.writerside_changed == 'true' &&
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions Writerside/codeSnippets/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' &&
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/Code-Quality.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/Release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/Test-Workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 5fc7b41

Please sign in to comment.