{"id":31761167,"url":"https://github.com/macrat/upload-kintone-customize-action","last_synced_at":"2025-10-09T21:47:46.244Z","repository":{"id":311311692,"uuid":"1043057017","full_name":"macrat/upload-kintone-customize-action","owner":"macrat","description":"Upload kintone customize JS/CSS files from GitHub Actions.","archived":false,"fork":false,"pushed_at":"2025-09-22T03:41:54.000Z","size":953,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T05:34:38.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macrat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-23T03:58:13.000Z","updated_at":"2025-09-22T03:38:48.000Z","dependencies_parsed_at":"2025-08-24T07:02:47.690Z","dependency_job_id":"51913afa-1777-4b1f-b3d1-d02e1325dfc3","html_url":"https://github.com/macrat/upload-kintone-customize-action","commit_stats":null,"previous_names":["macrat/upload-kintone-customize-action"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/macrat/upload-kintone-customize-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macrat%2Fupload-kintone-customize-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macrat%2Fupload-kintone-customize-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macrat%2Fupload-kintone-customize-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macrat%2Fupload-kintone-customize-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macrat","download_url":"https://codeload.github.com/macrat/upload-kintone-customize-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macrat%2Fupload-kintone-customize-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002050,"owners_count":26083286,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-09T21:47:44.823Z","updated_at":"2025-10-09T21:47:46.236Z","avatar_url":"https://github.com/macrat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Upload kintone customize action\n\nA GitHub Action to upload [kintone](https://www.kintone.com/) customize JS/CSS files.\n\nGitHub Actionで[kintone](https://kintone.cybozu.co.jp/)のカスタマイズ用JS/CSSファイルをアップロードするためのカスタムアクション。\n\n\n## Basic usage\n\n```yaml\nname: Upload kintone customize file\non: [push]\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n\n      - name: Upload kintone customize file\n        uses: macrat/upload-kintone-customize-action@v1\n        with:\n          base-url: ${{ secrets.KINTONE_BASE_URL }}\n          username: ${{ secrets.KINTONE_USERNAME }}\n          password: ${{ secrets.KINTONE_PASSWORD }}\n          app-id: ${{ secrets.KINTONE_APP_ID }}\n          desktop-js: ./dist/desktop.js\n          desktop-css: ./dist/desktop.css\n          mobile-js: ./dist/mobile.js\n          mobile-css: ./dist/mobile.css\n```\n\n\n## Inputs\n\n### `base-url` (required)\n\nBase-url of your kintone (e.g. `https://example.cybozu.com`)\n\nkintone環境のベースURL (例: `https://example.cybozu.com`)\n\n### `app-id` (required)\n\nkintone App ID.\n\nkintoneアプリID。\n\n### `scope`\n\nScope to enable customize. One of the following values:\n- `ALL`: Enable for all users (default)\n- `ADMIN`: Enable for admin users only\n- `NONE`: Disable customize\n\nカスタマイズを誰に適用するか。以下のいずれかの値を指定します。\n\n- `ALL`: すべてのユーザーに適用 (デフォルト)\n- `ADMIN`: 管理者ユーザーのみに適用\n- `NONE`: カスタマイズを無効化\n\n### `desktop-js` / `desktop-css` / `mobile-js` / `mobile-css` (required)\n\nPath to desktop/mobile JS/CSS files. You can specify multiple file paths separated by newlines.\nYou need to specify at least one of these.\n\nデスクトップ/モバイル用のJS/CSSファイルのパス。複数のファイルパスを改行で区切って指定できます。\n少なくともいずれか1つを指定する必要があります。\n\n### `username` / `password`\n\nLogin username and password.\nThese are required if you don't use `oauth-token`.\n\nログインユーザー名とパスワード。\n`oauth-token`を使用しない場合は必須です。\n\n### `oauth-token`\n\nOAuth token.\nIf you want to use OAuth authentication, you can specify this instead of `username` and `password`.\n\nOAuthトークン。\nOAuth認証を使用する場合、`username`と`password`の代わりにこれを指定できます。\n\n### `basic-auth-username` / `basic-auth-password`\n\nBasic Auth username and password.\nIf your kintone is protected by Basic Auth, you need to specify these.\n\nBasic認証のユーザー名とパスワード。\nkintoneがBasic認証で保護されている場合、これらを指定する必要があります。\n\n### `guest-space-id`\n\nGuest space ID.\nIf omitted, the files will be uploaded to the regular space.\n\nゲストスペースID。\n省略すると通常のスペースにアップロードされます。\n\n\n## Examples\n\n### Build and upload kintone customize file\n\n```yaml\nname: Build and upload kintone customize file\non: [push]\n\njobs:\n  build-and-upload:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n\n      - name: Set up Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '24'\n\n      - name: Install dependencies\n        run: npm install\n\n      - name: Build project\n        run: npm run build\n\n      - name: Upload kintone customize file\n        uses: macrat/upload-kintone-customize-action@v1\n        with:\n          base-url: ${{ secrets.KINTONE_BASE_URL }}\n          username: ${{ secrets.KINTONE_USERNAME }}\n          password: ${{ secrets.KINTONE_PASSWORD }}\n          app-id: ${{ secrets.KINTONE_APP_ID }}\n          desktop-js: ./dist/desktop.js\n          desktop-css: ./dist/desktop.css\n          mobile-js: ./dist/mobile.js\n          mobile-css: ./dist/mobile.css\n```\n\n### Upload multiple files\n\n```yaml\nname: Upload kintone customize file\non: [push]\n\njobs:\n  upload:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v5\n\n      - name: Upload kintone customize file\n        uses: macrat/upload-kintone-customize-action@v1\n        with:\n          base-url: ${{ secrets.KINTONE_BASE_URL }}\n          username: ${{ secrets.KINTONE_USERNAME }}\n          password: ${{ secrets.KINTONE_PASSWORD }}\n          app-id: ${{ secrets.KINTONE_APP_ID }}\n          desktop-js: |\n            ./dist/desktop1.js\n            ./dist/desktop2.js\n          desktop-css: |\n            ./dist/desktop1.css\n            ./dist/desktop2.css\n            ./dist/desktop3.css\n`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacrat%2Fupload-kintone-customize-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacrat%2Fupload-kintone-customize-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacrat%2Fupload-kintone-customize-action/lists"}