{"id":13578581,"url":"https://github.com/withastro/automation","last_synced_at":"2025-10-19T07:31:44.191Z","repository":{"id":206585033,"uuid":"655815967","full_name":"withastro/automation","owner":"withastro","description":"Centralized repo for GitHub actions for the `withastro` org","archived":false,"fork":false,"pushed_at":"2024-02-29T14:11:10.000Z","size":36,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-01-29T10:35:49.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":false,"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/withastro.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},"funding":{"github":"withastro","patreon":null,"open_collective":"astrodotbuild","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2023-06-19T16:53:06.000Z","updated_at":"2024-04-24T18:16:39.000Z","dependencies_parsed_at":"2023-11-10T23:25:00.413Z","dependency_job_id":"f3306699-9ce1-422b-bb2e-446e602f20ed","html_url":"https://github.com/withastro/automation","commit_stats":null,"previous_names":["withastro/automation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withastro%2Fautomation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withastro%2Fautomation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withastro%2Fautomation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/withastro%2Fautomation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/withastro","download_url":"https://codeload.github.com/withastro/automation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088513,"owners_count":19253567,"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-08-01T15:01:31.971Z","updated_at":"2025-10-19T07:31:44.186Z","avatar_url":"https://github.com/withastro.png","language":null,"funding_links":["https://github.com/sponsors/withastro","https://opencollective.com/astrodotbuild"],"categories":["Others"],"sub_categories":[],"readme":"# Astro Automation Tools\n\nThis repository contains GitHub Action workflows that are shared across repos in the `withastro` GitHub org.\n\n\u003e **Warning**  \n\u003e These workflows are not designed for use _outside_ of the `withastro` GitHub org.\n\n## [`congratsbot.yml`](./.github/workflows/congratsbot.yml)\n\nThis workflow posts a celebratory message in a Discord channel of your choice for each commit. For example:\n\n\u003e 🎊 **Merged!** Houston (Bot): [`[ci] release (#232)`](#)  \n\u003e _Featuring contributions by github-actions[bot]! 🌟_\n\n### Prerequisites\n\n[Create a new Discord webhook](https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks) and add the URL to your repository secrets as `DISCORD_WEBHOOK_CONGRATS`.\n\n### Usage\n\n```yml\nname: Congratsbot\n\non:\n  push:\n    branches: [main]\n\njobs:\n  congrats:\n    if: ${{ github.repository_owner == 'withastro' }}\n    uses: withastro/automation/.github/workflows/congratsbot.yml@main\n    secrets:\n      DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_CONGRATS }}\n```\n\n### Optional inputs\n\nYou can customize the emojis and co-author message templates to give your repository its own personality. You can set these under `with` in your job:\n\n```yml\njobs:\n  congrats:\n    if: ${{ github.repository_owner == 'withastro' }}\n    uses: withastro/automation/.github/workflows/congratsbot.yml@main\n    with:\n      EMOJIS: 🤖,👻,😱\n      COAUTHOR_TEMPLATES: \u003e\n        [\n          \"Woahhh, \u003cnames\u003e really gave us a fright! 🎃\",\n          \"We weren’t sure what we were doing until \u003cnames\u003e showed up. 🤝\"\n        ]\n    secrets:\n      DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_CONGRATS }}\n```\n\n#### `EMOJIS`\n\n**default:** `🎉,🎊,🧑‍🚀,🥳,🙌,🚀`\n\nA comma-delimited set of emojis.\nEach congrats bot message will pick one at random for the start of the message.\n\n#### `COAUTHOR_TEMPLATES`\n\n**default:** see [`congratsbot.yml`](./.github/workflows/congratsbot.yml#L31)\n\nA JSON array of co-author recognition templates.\nEach template should contain the `\u003cnames\u003e` placeholder to be replaced by the names of one or more co-authors for this commit.\n(Ignored for commits without any co-authors.)\n\nWhen writing congrats messages, remember that `\u003cnames\u003e` could be one, two, or more names. So, create messages that can work for both a single co-author and for several people, for example, \"This PR was made even better by `\u003cnames\u003e`!\"\n\n## [`format.yml`](./.github/workflows/format.yml)\n\nThis workflow runs a repository’s code formatting tooling (e.g. Prettier) and commits any resulting changes directly.\n\n### Usage\n\n```yml\nname: Format\n\non:\n  workflow_dispatch:\n  push:\n    branches:\n      - main\n\njobs:\n  prettier:\n    if: github.repository_owner == 'withastro'\n    uses: withastro/automation/.github/workflows/format.yml@main\n    with:\n      # Set command to this repository’s package script that runs Prettier\n      command: 'format:ci'\n    secrets: inherit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithastro%2Fautomation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwithastro%2Fautomation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwithastro%2Fautomation/lists"}