Skip to content

Commit

Permalink
Refactor to use a different naming scheme for workflow files (#36)
Browse files Browse the repository at this point in the history
* different naming scheme for workflow files

* Update scripts/utils/slug.js

Co-authored-by: Masafumi Koba <[email protected]>

---------

Co-authored-by: Masafumi Koba <[email protected]>
  • Loading branch information
romainmenke and ybiquitous authored Aug 2, 2024
1 parent ad1620e commit 5259602
Show file tree
Hide file tree
Showing 107 changed files with 447 additions and 384 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-000-primer-stylelint-config.latest.yml
- .github/workflows/test-package-primer-stylelint-config-0ab.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-000-primer-stylelint-config.latest.yml
- .github/workflows/test-package-primer-stylelint-config-0ab.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-0-latest
group: ${{ github.workflow }}-${{ github.ref }}-primer-stylelint-config-0ab-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-000-primer-stylelint-config.next.yml
- .github/workflows/test-package-primer-stylelint-config-0ab.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-000-primer-stylelint-config.next.yml
- .github/workflows/test-package-primer-stylelint-config-0ab.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-0-next
group: ${{ github.workflow }}-${{ github.ref }}-primer-stylelint-config-0ab-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-001-shopify-stylelint-plugin.latest.yml
- .github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-001-shopify-stylelint-plugin.latest.yml
- .github/workflows/test-package-shopify-stylelint-plugin-a90.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-1-latest
group: ${{ github.workflow }}-${{ github.ref }}-shopify-stylelint-plugin-a90-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-001-shopify-stylelint-plugin.next.yml
- .github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-001-shopify-stylelint-plugin.next.yml
- .github/workflows/test-package-shopify-stylelint-plugin-a90.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-1-next
group: ${{ github.workflow }}-${{ github.ref }}-shopify-stylelint-plugin-a90-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-005-stylelint-actions-formatters.latest.yml
- .github/workflows/test-package-stylelint-actions-formatters-e5a.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-005-stylelint-actions-formatters.latest.yml
- .github/workflows/test-package-stylelint-actions-formatters-e5a.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-5-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-actions-formatters-e5a-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-005-stylelint-actions-formatters.next.yml
- .github/workflows/test-package-stylelint-actions-formatters-e5a.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-005-stylelint-actions-formatters.next.yml
- .github/workflows/test-package-stylelint-actions-formatters-e5a.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-5-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-actions-formatters-e5a-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-006-stylelint-checkstyle-reporter.latest.yml
- .github/workflows/test-package-stylelint-checkstyle-reporter-af7.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-006-stylelint-checkstyle-reporter.latest.yml
- .github/workflows/test-package-stylelint-checkstyle-reporter-af7.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-6-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-checkstyle-reporter-af7-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-006-stylelint-checkstyle-reporter.next.yml
- .github/workflows/test-package-stylelint-checkstyle-reporter-af7.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-006-stylelint-checkstyle-reporter.next.yml
- .github/workflows/test-package-stylelint-checkstyle-reporter-af7.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-6-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-checkstyle-reporter-af7-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-007-stylelint-codeframe-formatter.latest.yml
- .github/workflows/test-package-stylelint-codeframe-formatter-219.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-007-stylelint-codeframe-formatter.latest.yml
- .github/workflows/test-package-stylelint-codeframe-formatter-219.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-7-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-codeframe-formatter-219-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-007-stylelint-codeframe-formatter.next.yml
- .github/workflows/test-package-stylelint-codeframe-formatter-219.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-007-stylelint-codeframe-formatter.next.yml
- .github/workflows/test-package-stylelint-codeframe-formatter-219.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-7-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-codeframe-formatter-219-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-008-stylelint-config-clean-order.latest.yml
- .github/workflows/test-package-stylelint-config-clean-order-cd2.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-008-stylelint-config-clean-order.latest.yml
- .github/workflows/test-package-stylelint-config-clean-order-cd2.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-8-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-clean-order-cd2-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-008-stylelint-config-clean-order.next.yml
- .github/workflows/test-package-stylelint-config-clean-order-cd2.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-008-stylelint-config-clean-order.next.yml
- .github/workflows/test-package-stylelint-config-clean-order-cd2.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-8-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-clean-order-cd2-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-009-stylelint-config-css-modules.latest.yml
- .github/workflows/test-package-stylelint-config-css-modules-385.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-009-stylelint-config-css-modules.latest.yml
- .github/workflows/test-package-stylelint-config-css-modules-385.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-9-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-css-modules-385-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-009-stylelint-config-css-modules.next.yml
- .github/workflows/test-package-stylelint-config-css-modules-385.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-009-stylelint-config-css-modules.next.yml
- .github/workflows/test-package-stylelint-config-css-modules-385.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-9-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-css-modules-385-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-010-stylelint-config-html.latest.yml
- .github/workflows/test-package-stylelint-config-html-9b8.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-010-stylelint-config-html.latest.yml
- .github/workflows/test-package-stylelint-config-html-9b8.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-10-latest
group: ${{ github.workflow }}-${{ github.ref }}-stylelint-config-html-9b8-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-010-stylelint-config-html.next.yml
- .github/workflows/test-package-stylelint-config-html-9b8.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-010-stylelint-config-html.next.yml
- .github/workflows/test-package-stylelint-config-html-9b8.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-10-next
group: ${{ github.workflow }}-${{ github.ref }}-stylelint-config-html-9b8-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-011-stylelint-config-idiomatic-order.latest.yml
- .github/workflows/test-package-stylelint-config-idiomatic-order-9b1.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-011-stylelint-config-idiomatic-order.latest.yml
- .github/workflows/test-package-stylelint-config-idiomatic-order-9b1.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-11-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-idiomatic-order-9b1-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-011-stylelint-config-idiomatic-order.next.yml
- .github/workflows/test-package-stylelint-config-idiomatic-order-9b1.next.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-011-stylelint-config-idiomatic-order.next.yml
- .github/workflows/test-package-stylelint-config-idiomatic-order-9b1.next.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-11-next
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-idiomatic-order-9b1-next
cancel-in-progress: true
jobs:
test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
- main
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-012-stylelint-config-property-sort-order-smacss.latest.yml
- .github/workflows/test-package-stylelint-config-property-sort-order-smacss-d0d.latest.yml
pull_request:
paths:
- .github/workflows/test-package.yml
- .github/workflows/test-package-012-stylelint-config-property-sort-order-smacss.latest.yml
- .github/workflows/test-package-stylelint-config-property-sort-order-smacss-d0d.latest.yml
workflow_dispatch: null
schedule:
- cron: 0 0 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-12-latest
group: ${{ github.workflow }}-${{ github.ref
}}-stylelint-config-property-sort-order-smacss-d0d-latest
cancel-in-progress: true
jobs:
test:
Expand Down
Loading

0 comments on commit 5259602

Please sign in to comment.