{"id":19714455,"url":"https://github.com/diplodoc-platform/docs-message-action","last_synced_at":"2026-03-19T11:14:59.293Z","repository":{"id":207278995,"uuid":"716886255","full_name":"diplodoc-platform/docs-message-action","owner":"diplodoc-platform","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-19T09:54:02.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T14:58:10.985Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diplodoc-platform.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-11-10T04:35:09.000Z","updated_at":"2023-11-10T04:35:09.000Z","dependencies_parsed_at":"2023-11-15T01:30:04.712Z","dependency_job_id":"97bb6ee7-9655-4467-a735-291f3faa155e","html_url":"https://github.com/diplodoc-platform/docs-message-action","commit_stats":null,"previous_names":["diplodoc-platform/docs-message-action"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diplodoc-platform%2Fdocs-message-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diplodoc-platform%2Fdocs-message-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diplodoc-platform%2Fdocs-message-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diplodoc-platform%2Fdocs-message-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diplodoc-platform","download_url":"https://codeload.github.com/diplodoc-platform/docs-message-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241035731,"owners_count":19898082,"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","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":"2024-11-11T22:32:19.090Z","updated_at":"2025-10-14T14:11:10.070Z","avatar_url":"https://github.com/diplodoc-platform.png","language":null,"readme":"# docs-message-action GitHub action\n\nThis GitHub action adds a comment to the pull request with the build log or preview link.\n\n**Successful Build:**\n![Success](./assets/success-message.png)\n\n**Failed Build:**\n![Failure](./assets/fail-message.png)\n\n## Inputs\n\n- `github-token` (required) - GitHub access token for authentication and authorization\n- `project-link` (optional) - The link to the project documentation\n\n## Usage\n\nCreate a file named `.github/workflows/post-build.yml` in your repo.\n\nThis workflow must run on completed [build workflow](https://github.com/diplodoc-platform/docs-build-action) and performs the following:\n- Uploads build output to storage if the build log does not include errors.\n- Adds a comment to the pull request with the build log or preview link.\n\n```yaml\nname: Upload \u0026 Message\n\non:\n  workflow_run:\n    workflows: [Build]\n    types:\n      - completed\n\njobs:\n  post-build:\n    permissions: write-all\n    runs-on: ubuntu-latest\n    steps:\n      - name: Upload\n        uses: diplodoc-platform/docs-upload-action@v1\n        if: github.event.workflow_run.conclusion == 'success'\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          storage-endpoint: ${{ vars.DIPLODOC_STORAGE_ENDPOINT }}\n          storage-region: ${{ vars.DIPLODOC_STORAGE_REGION }}\n          storage-bucket: ${{ vars.DIPLODOC_STORAGE_BUCKET }}\n          storage-access-key-id: ${{ secrets.DIPLODOC_ACCESS_KEY_ID }}\n          storage-secret-access-key: ${{ secrets.DIPLODOC_SECRET_ACCESS_KEY }}\n\n      - name: Comment message\n        uses: diplodoc-platform/docs-message-action@v1\n        with:\n          github-token: ${{ secrets.GITHUB_TOKEN }}\n          project-link: ${{ vars.DIPLODOC_PROJECT_LINK }}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiplodoc-platform%2Fdocs-message-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiplodoc-platform%2Fdocs-message-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiplodoc-platform%2Fdocs-message-action/lists"}