Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧Add release notes prefix setting #46

Merged
merged 15 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 0 additions & 69 deletions .github/cicd/scripts/deno-build.ts

This file was deleted.

109 changes: 0 additions & 109 deletions .github/cicd/scripts/deno-check.ts

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/build-status-check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: ✅Build Status Check
run-name: ✅Build Status Check (${{ github.base_ref }} branch)
name: ✅Check Status Check
run-name: ✅Check Status Check (${{ github.base_ref }} branch)


defaults:
Expand Down Expand Up @@ -29,6 +29,5 @@ jobs:
with:
deno-version: ${{ vars.DENO_VERSION }}

- name: Run Build
run: |
deno run --allow-read --allow-run "./.github/cicd/scripts/deno-build.ts";
- name: Run Check
run: deno check **/*/*.ts;
18 changes: 11 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
run: |
$scriptPath = "${{ github.workspace }}/.github/cicd/scripts/get-version.ts";

deno run --allow-read --allow-write --allow-env "$scriptPath";
deno run -R -W -E "$scriptPath";


validate_release:
Expand Down Expand Up @@ -90,7 +90,10 @@ jobs:
run: |
$scriptPath = "${{ github.workspace }}/.github/cicd/scripts/version-checker.ts";

deno run --allow-env --allow-net --allow-read "$scriptPath";
deno run `
-E `
-N=raw.githubusercontent.com,github.com `
-R "$scriptPath";

- name: Release Notes Exist
env:
Expand All @@ -99,7 +102,7 @@ jobs:
run: |
$scriptPath = "${{ github.workspace }}/.github/cicd/scripts/check-release-notes.ts";

deno run --allow-env --allow-read "$scriptPath";
deno run -E -R "$scriptPath";


release:
Expand All @@ -115,14 +118,14 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Run Build
run: deno run --allow-read --allow-run ./.github/cicd/scripts/deno-build.ts
- name: Run Check
run: deno check **/*/*.ts;

- name: Run Lint
run: deno lint

- name: Run Tests
run: deno test --allow-read ./tests/*Tests.ts;
run: deno test -R ./tests/*Tests.ts;

- name: Create GitHub Release ${{ inputs.dry-run == true && '(Dry Run)' || '' }}
if: ${{ inputs.dry-run == false }}
Expand Down Expand Up @@ -171,7 +174,8 @@ jobs:
3. PAT
#>
deno run `
--allow-read --allow-net `
-R `
-N=raw.githubusercontent.com,github.com `
"$scriptUrl" `
"${{ vars.PROJECT_NAME }}" `
"${{ needs.get_version.outputs.version }}" `
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
5. PAT
#>
deno run `
--allow-net `
-N=raw.githubusercontent.com,github.com `
"$scriptUrl" `
"${{ vars.ORGANIZATION_NAME }}" `
"${{ vars.PROJECT_NAME }}" `
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
5. PAT
#>
deno run `
--allow-net `
-N=raw.githubusercontent.com,github.com `
"$scriptUrl" `
"${{ vars.ORGANIZATION_NAME }}" `
"${{ vars.PROJECT_NAME }}" `
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
deno-version: ${{ vars.DENO_VERSION }}

- name: Run Tests
run: deno test --allow-read ./tests/*Tests.ts;
run: deno test -R ./tests/*Tests.ts;
36 changes: 18 additions & 18 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
},
"runtimeArgs": [
"run",
"--allow-env",
"--allow-read",
"--allow-net",
"-E",
"-R",
"-N",
"--inspect-wait",
],
"args": [
Expand All @@ -69,10 +69,10 @@
},
"runtimeArgs": [
"run",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-net",
"-E",
"-R",
"-W",
"-N",
"--allow-run",
"--inspect-wait",
],
Expand Down Expand Up @@ -120,9 +120,9 @@
"runtimeArgs": [
"run",
"--inspect-wait",
"--allow-read",
"--allow-write",
"--allow-env",
"-R",
"-W",
"-E",
],
"attachSimplePort": 9229,
},
Expand All @@ -144,8 +144,8 @@
},
"runtimeArgs": [
"run",
"--allow-env",
"--allow-read",
"-E",
"-R",
"--inspect-wait",
],
"attachSimplePort": 9229,
Expand All @@ -164,9 +164,9 @@
},
"runtimeArgs": [
"run",
"--allow-read",
"--allow-write",
"--allow-net",
"-R",
"-W",
"-N",
"--allow-run",
"--inspect-wait",
],
Expand All @@ -190,9 +190,9 @@
},
"runtimeArgs": [
"run",
"--allow-read",
"--allow-write",
"--allow-net",
"-R",
"-W",
"-N",
"--inspect-wait",
],
"args": [
Expand Down
Loading
Loading