feat: switch YAML extension preference from .yml to .yaml #2
Annotations
2 errors
|
Run pnpm run test --coverage
Process completed with exit code 1.
|
|
Run pnpm run test --coverage:
src/integration.test.ts#L145
AssertionError: expected { '.github': { …(2) } } to be undefined
- Expected:
undefined
+ Received:
{
".github": {
"ISSUE_TEMPLATE": {
"01-bug.yaml": "@@ -29,9 +29,9 @@
description: Report a bug trying to run the code
labels:
- - \"type: bug\"
+ - 'type: bug'
name: 🐛 Bug
-title: \"🐛 Bug: <short description of the bug>\"
+title: '🐛 Bug: <short description of the bug>'
",
"02-documentation.yaml": "@@ -21,9 +21,9 @@
description: Report a typo or missing area of documentation
labels:
- - \"area: documentation\"
+ - 'area: documentation'
name: 📝 Documentation
-title: \"📝 Documentation: <short description of the request>\"
+title: '📝 Documentation: <short description of the request>'
",
"03-feature.yaml": "@@ -21,9 +21,9 @@
description: Request that a new feature be added or an existing feature improved
labels:
- - \"type: feature\"
+ - 'type: feature'
name: 🚀 Feature
-title: \"🚀 Feature: <short description of the feature>\"
+title: '🚀 Feature: <short description of the feature>'
",
"04-tooling.yaml": "@@ -23,9 +23,9 @@
description: Report a bug or request an enhancement in repository tooling
labels:
- - \"area: tooling\"
+ - 'area: tooling'
name: 🛠 Tooling
-title: \"🛠 Tooling: <short description of the change>\"
+title: '🛠 Tooling: <short description of the change>'
",
},
"workflows": {
"ci.yaml": "@@ -69,10 +69,12 @@
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
- uses: ./.github/actions/prepare
- run: pnpm tsc
+
name: CI
+
on:
pull_request: ~
push:
branches:
",
"contributors.yaml": "@@ -9,10 +9,12 @@
- env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
uses: JoshuaKGoldberg/all-contributors-auto-action@944abe4387e751b5bbb38616cb25cf4a4ca998f2 # v0.5.0
+
name: Contributors
+
on:
push:
branches:
- main
",
"octoguide.yaml": "@@ -7,10 +7,12 @@
with:
config: strict
github-token: ${{ secrets.GITHUB_TOKEN }}
+
name: OctoGuide
+
on:
discussion:
types:
- created
@@ -38,8 +40,9 @@
types:
- edited
- opened
+
permissions:
discussions: write
issues: write
pull-requests: write
",
"post-release.yaml": "@@ -9,23 +9,26 @@
- uses: apexskier/github-release-commenter@3bd413ad5e1d603bfe2282f9f06f2bdcec079327 # v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
comment-template: |
- :tada: This is included in version {release_link} :tada:
+ :tada: This is included in version {release_link} :tada:
- The release is available on:
+ The release is available on:
- * [GitHub releases](https://github.com/JoshuaKGoldberg/create-typescript-app/releases/tag/{release_tag})
- * [npm package (@latest dist-tag)](https://www.npmjs.com/package/create-typescript-app/v/${{ env.npm_version }})
+ * [GitHub releases](https://github.com/JoshuaKGoldberg/create-typescript-app/releases/tag/{release_tag})
+ * [npm package (@latest dist-tag)](https://www.npmjs.com/package/create-typescript-app/v/${{ env.npm_version }})
- Cheers! 📦🚀
+ Cheers! 📦🚀
+
name: Post Release
+
on:
release:
types:
- published
+
permissions:
issues: write
pull-requests: write
",
"pr-review-requested.yaml": "@@ -3,19 +3,22 @@
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
with:
- labels: \"status: waiting for author\"
+ labels: 'status: waiting for author'
- if: failure()
run: |
echo \"Don't worry if the previous step failed.\"
echo \"See https://github.com/actions-ecosystem/action-remove-labels/issues/221.\"
+
name: PR Review Requested
+
on:
pull_request_target:
types:
- review_requested
+
permissions:
pul
|
Loading