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

CIで使用しているスクリプトをTypeScript化する #1421

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
0b6a284
js -> ts
massongit Nov 17, 2024
c8ecdc6
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
5c3c56d
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
9af217f
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
7ab60f1
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
fb40256
Revert "CIで使用しているスクリプトをTypeScript化する"
massongit Nov 17, 2024
b92775d
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
caa54d5
dist反映 (#1423)
github-actions[bot] Nov 17, 2024
7f4af4e
Revert "dist反映 (#1423)"
massongit Nov 17, 2024
b09a28d
Revert "CIで使用しているスクリプトをTypeScript化する"
massongit Nov 17, 2024
1ec4242
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
ed64433
formatが間違ってたので直してあげたよ! (#1425)
dev-hato-app[bot] Nov 17, 2024
e436005
Revert "CIで使用しているスクリプトをTypeScript化する"
massongit Nov 17, 2024
8816820
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
11f4a76
dist反映 (#1426)
github-actions[bot] Nov 17, 2024
e9558de
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
dbaf893
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
ed4d63d
dist反映 (#1427)
github-actions[bot] Nov 17, 2024
204b474
CIで使用しているスクリプトをTypeScript化する
massongit Nov 17, 2024
2eac7ba
dist反映 (#1428)
github-actions[bot] Nov 17, 2024
43de1bf
Revert "dist反映 (#1428)"
massongit Nov 17, 2024
b0db78e
Revert "CIで使用しているスクリプトをTypeScript化する"
massongit Nov 17, 2024
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/** linguist-generated=true
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
paths:
- .github/workflows/create-release.yml
- scripts/action/**
- dist/**
- action.yml
permissions:
contents: write
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
cache: npm
node-version-file: .node-version
- run: bash "${GITHUB_WORKSPACE}/scripts/super_linter/build/set_path.sh"
################################
# Run Linter against code base #
Expand All @@ -58,8 +59,8 @@ jobs:
DEFAULT_BRANCH: main
LINTER_RULES_PATH: .
VALIDATE_JSCPD: false
JAVASCRIPT_DEFAULT_STYLE: prettier
VALIDATE_JAVASCRIPT_STANDARD: false
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_TYPESCRIPT_STANDARD: false
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
39 changes: 39 additions & 0 deletions .github/workflows/update-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: update-dist
on:
pull_request:
types:
- opened
- synchronize
- reopened
- closed
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
update-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
cache: npm
node-version-file: .node-version
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: bash "${GITHUB_WORKSPACE}/scripts/update_dist/update_dist/build.sh"
- uses: dev-hato/actions-diff-pr-management@e5c78b251a69f44f93b2f1398e06b129bcf151ec # v1.2.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
branch-name-prefix: apply-dist
pr-title-prefix: dist反映
pr-description-prefix: srcの内容をdistに反映します。
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
1 change: 1 addition & 0 deletions .github/workflows/update-gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
cache: npm
node-version-file: .node-version
- name: Install packages
if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: npm ci
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
if: github.event_name != 'pull_request' || github.event.action != 'closed'
with:
cache: npm
node-version-file: .node-version
- if: github.event_name != 'pull_request' || github.event.action != 'closed'
run: npm install
- uses: dev-hato/actions-diff-pr-management@8d475e5bc78f61c40024d4859b79134b66f788d2 # v1.2.1
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
23.2.0
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ runs:
with:
github-token: ${{ inputs.github-token }}
script: |
const script = require('${{ github.action_path }}/scripts/action/remove_prs_and_issues.js')
await script({github})
const {script} = require('${{ github.action_path }}/dist/remove_prs_and_issues.js')
await script(github)
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
with:
project-url: ${{ inputs.project-url }}
Expand Down
133 changes: 133 additions & 0 deletions dist/remove_prs_and_issues.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading