{"id":17716899,"url":"https://github.com/dailydotdev/action-devcard","last_synced_at":"2025-03-14T02:31:04.841Z","repository":{"id":37960282,"uuid":"398890586","full_name":"dailydotdev/action-devcard","owner":"dailydotdev","description":"GitHub Action to download the devcard from https://daily.dev","archived":false,"fork":false,"pushed_at":"2024-10-01T15:35:43.000Z","size":12017,"stargazers_count":95,"open_issues_count":5,"forks_count":16,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-01T18:01:12.355Z","etag":null,"topics":["github-action","hacktoberfest"],"latest_commit_sha":null,"homepage":"https://daily.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dailydotdev.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-22T20:06:03.000Z","updated_at":"2024-10-01T15:34:30.000Z","dependencies_parsed_at":"2023-10-01T16:50:20.319Z","dependency_job_id":"555b2f1b-9970-4424-8539-0153ae8dbb87","html_url":"https://github.com/dailydotdev/action-devcard","commit_stats":{"total_commits":107,"total_committers":5,"mean_commits":21.4,"dds":"0.30841121495327106","last_synced_commit":"125f7ecd459b154f42b2f8a7620ad8313bd71839"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dailydotdev%2Faction-devcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dailydotdev%2Faction-devcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dailydotdev%2Faction-devcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dailydotdev%2Faction-devcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dailydotdev","download_url":"https://codeload.github.com/dailydotdev/action-devcard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511628,"owners_count":20302588,"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":["github-action","hacktoberfest"],"created_at":"2024-10-25T14:01:13.017Z","updated_at":"2025-03-14T02:31:04.464Z","avatar_url":"https://github.com/dailydotdev.png","language":"TypeScript","readme":"# GitHub Action for fetching the devcard from [daily.dev](https://api.daily.dev/get?r=omBratteng)\n\n[![GitHub](https://img.shields.io/github/license/dailydotdev/action-devcard)](LICENSE)\n[![GitHub Workflow Status (event)](https://img.shields.io/github/workflow/status/dailydotdev/action-devcard/continuous-integration?event=push\u0026label=continuous-integration\u0026logo=github)](https://github.com/dailydotdev/action-devcard/actions/workflows/continuous-integration.yml)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/dailydotdev/action-devcard?logo=github)](https://github.com/dailydotdev/action-devcard/releases/latest)\n\n## Example usage\n\n```yaml\njobs:\n  devcard:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: devcard\n        uses: dailydotdev/action-devcard@3.2.0\n        with:\n          user_id: ${{ secrets.USER_ID }}\n```\n\n## Action options\n\n### Required\n\n- `user_id`: this is the unique id of the devcard, it can be found in the URL of the devcard or [here](https://app.daily.dev/api/id).\n  - e.g. `https://api.daily.dev/devcards/v2/0b156485612243bfa39093.2.071e276.png` where the user_id is `0b156485612243bfa39093.2.071e276`\n  - Can be found at [https://app.daily.dev/api/id](https://app.daily.dev/api/id)\n\n### Optional\n\n- `type`: Configure orientation for devcard\n  - `default`: Vertical (Default)\n  - `wide`: Horizontal\n- `token`: GitHub Token used to commit the devcard\n- `commit_branch`: The branch to commit the devcard to. Defaults to the branch of the action.\n- `commit_message`: The commit message to use when committing the devcard. Defaults to `Update ${filename}`.\n  - You can use `${filename}` in the message to refer to the filename of the devcard.\n- `commit_filename`: The filename to commit the devcard to. Defaults to `devcard.png`.\n  - You can also use any other filename ending in `.png`.\n- `committer_email`: The committer email used in commit. Defaults to `noreply@github.com`.\n- `committer_name`: The committer name used in commit. Defaults to `github-actions[bot]`.\n- `dryrun`: If set to `true`, the action will run as normal, but not actually commit the devcard\n\n## Advanced usage\n\nThis will save the devcard as PNG and commit to a separate branch named `devcard`.\n\n```yaml\njobs:\n  devcard:\n    runs-on: ubuntu-latest\n    permissions:\n      contents: write\n    steps:\n      - name: devcard\n        uses: dailydotdev/action-devcard@3.2.0\n        with:\n          user_id: ${{ secrets.USER_ID }}\n          commit_branch: devcard\n          commit_filename: devcard.png\n          commit_message: \"chore: update ${filename}\"\n```\n\n## Keep up-to-date with GitHub Dependabot\n\nSince [Dependabot](https://docs.github.com/en/github/administering-a-repository/keeping-your-actions-up-to-date-with-github-dependabot)\nhas [native GitHub Actions support](https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem),\nto enable it on your GitHub repo all you need to do is add the `.github/dependabot.yml` file:\n\n```yaml\nversion: 2\nupdates:\n  # Maintain dependencies for GitHub Actions\n  - package-ecosystem: \"github-actions\"\n    directory: \"/\"\n    schedule:\n      interval: \"daily\"\n```\n","funding_links":[],"categories":["🛠️ Widgets 👇"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdailydotdev%2Faction-devcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdailydotdev%2Faction-devcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdailydotdev%2Faction-devcard/lists"}