{"id":17726675,"url":"https://github.com/sergeysova/gist-write-action","last_synced_at":"2025-03-14T06:32:26.982Z","repository":{"id":44822574,"uuid":"267367580","full_name":"sergeysova/gist-write-action","owner":"sergeysova","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-18T19:28:14.000Z","size":24,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T11:50:28.518Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/sergeysova.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}},"created_at":"2020-05-27T16:13:57.000Z","updated_at":"2023-11-14T22:25:35.000Z","dependencies_parsed_at":"2023-01-11T17:22:38.876Z","dependency_job_id":null,"html_url":"https://github.com/sergeysova/gist-write-action","commit_stats":{"total_commits":11,"total_committers":2,"mean_commits":5.5,"dds":0.09090909090909094,"last_synced_commit":"0c014107a8b6ac1c6ab495d6253f3c00f9905737"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Fgist-write-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Fgist-write-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Fgist-write-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeysova%2Fgist-write-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergeysova","download_url":"https://codeload.github.com/sergeysova/gist-write-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243030786,"owners_count":20224665,"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-10-25T17:06:31.469Z","updated_at":"2025-03-14T06:32:25.528Z","avatar_url":"https://github.com/sergeysova.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gist-Write v1\n\nThe action to write content to a gist from an input.\n\nSee also [gist-read](https://github.com/sergeysova/gist-read-action).\n\n## Usage\n\nSee [action.yml](./action.yml)\n\n## Examples\n\nSimple (just write content from input to a file to a gist):\n\n```yaml\nsteps:\n  - uses: sergeysova/gist-write-action@v1\n    with:\n      gist_id: 7bcddb642d16d291959642fc60feec9b\n      file_name: example.txt\n      content: \"100\"\n```\n\nIncrement counter (read value from a gist, increment it, write to the gist):\n\n```yaml\nsteps:\n  - uses: sergeysova/gist-read-action@v1\n    id: counter\n    with:\n      gist_id: 7bcddb642d16d291959642fc60feec9b\n      file_name: example.txt\n\n  - name: Increment\n    id: increment\n    run: |\n      export COUNTER=${{steps.counter.outputs.content}}\n      echo \"::set-output name=value::$((COUNTER + 1))\"\n\n  - uses: sergeysova/gist-write-action@v1\n    with:\n      gist_id: 7bcddb642d16d291959642fc60feec9b\n      file_name: example.txt\n      content: ${{steps.increment.outputs.value}}\n```\n\n## License\n\nThe scripts and documentation in this project are released under the [MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeysova%2Fgist-write-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeysova%2Fgist-write-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeysova%2Fgist-write-action/lists"}