{"id":21417332,"url":"https://github.com/staffbase/autodev-action","last_synced_at":"2025-09-13T19:06:51.402Z","repository":{"id":36967205,"uuid":"413399963","full_name":"Staffbase/autodev-action","owner":"Staffbase","description":"This GitHub action merges labeled PRs into the dev branch.","archived":false,"fork":false,"pushed_at":"2024-04-04T17:22:08.000Z","size":23381,"stargazers_count":8,"open_issues_count":4,"forks_count":2,"subscribers_count":24,"default_branch":"main","last_synced_at":"2024-04-14T12:55:13.157Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Staffbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-04T11:52:52.000Z","updated_at":"2024-05-01T06:28:48.953Z","dependencies_parsed_at":"2023-01-17T09:32:33.629Z","dependency_job_id":"ae055af3-7dd9-4395-973c-54fef379e0d0","html_url":"https://github.com/Staffbase/autodev-action","commit_stats":{"total_commits":198,"total_committers":8,"mean_commits":24.75,"dds":0.5252525252525253,"last_synced_commit":"3662406e7921ba85460f03a24e198271c8f0bb3e"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fautodev-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fautodev-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fautodev-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Staffbase%2Fautodev-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Staffbase","download_url":"https://codeload.github.com/Staffbase/autodev-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225950743,"owners_count":17550309,"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-22T19:14:39.172Z","updated_at":"2025-07-14T04:32:59.368Z","avatar_url":"https://github.com/Staffbase.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 👷 AutoDev Action\n\n[![Continuous Integration](https://github.com/Staffbase/autodev-action/actions/workflows/integration.yml/badge.svg)](https://github.com/Staffbase/autodev-action/actions/workflows/integration.yml)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/Staffbase/autodev-action)](https://github.com/Staffbase/autodev-action/releases)\n\nThis action merges commits from different pull requests that have been tagged with the label `dev` into the `dev` branch on your GitHub repository.\n\n```yaml\nname: Autodev\non:\n  push:\n    branches-ignore:\n      - dev\n  pull_request:\n    types: [labeled, unlabeled, closed]\n\njobs:\n  autodev:\n    name: Build Dev Branch\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          # The token of the user that should perform the merges. \n          # This must be a personal access token with the necessary permissions\n          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n          fetch-depth: 0\n\n      - name: Autodev\n        uses: Staffbase/autodev-action@v2.5.0\n        with:\n          # The token used to fetch the pull requests from the GitHub API\n          token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n```\n\n# All options\n\nYou can find all input options which are available for this action.\n\n| **Input**       | **Description**                                                                                                                                                                               | **Default**            |\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|\n| token           | PAT for GitHub API authentication                                                                                                                                                             |                        |\n| base            | This is the base branch. The merge history originates from this branch.                                                                                                                       | main                   |\n| branch          | The branch the action will merge the pull requests to.                                                                                                                                        | dev                    |\n| label           | The label where the action will be triggered.                                                                                                                                                 | dev                    |\n| comments        | The GitHub action creates a new comment inside every pull request.                                                                                                                            | false                  |\n| success_comment | Comment string that will be shown in the pull request on success. Only necessary if `comments` is enabled.                                                                                    | ''                     |\n| failure_comment | Comment string that will be shown in the pull request on failure. Only necessary if `comments` is enabled.                                                                                    | ''                     |\n| labels          | The GitHub action updates the labels inside every pull request for successful or failed merges to the dev branch.                                                                             | false                  |\n| success_label   | Label string that will be shown on the Pull request on success. Only necessary if `labels` is enabled.                                                                                        | successful             |\n| failure_label   | Label string that will be shown on the Pull request on failure. Only necessary if `labels` is enabled.                                                                                        | failed                 |\n| user            | Name of the user which does the git commit.                                                                                                                                                   | AutoDev Action         |\n| email           | E-Mail of the user which does the git commit.                                                                                                                                                 | staffbot@staffbase.com |\n\n# Example Usages\n\nAlways create a dev branch if you're using a version older than v2.2.\n\n```yaml\n- name: Autodev\n  uses: Staffbase/autodev-action@v2.5.0\n  with:\n    token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n```\n\nAdd a status comment if the merge was successful or failed.\n\n```yaml\n- name: Autodev\n  uses: Staffbase/autodev-action@v2.5.0\n  with:\n    token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n    comments: true\n    success_comment: '🎉 The action successfully merged all branches with the dev label.'\n    failure_comment: '⚠️ Something went wrong.'\n```\n\nAdd a status label if the merge was successful or failed.\n\n```yaml\n- name: Autodev\n  uses: Staffbase/autodev-action@v2.5.0\n  with:\n    token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}\n    labels: true\n    success_label: 'successful'\n    failure_label: 'failed'\n```\n\n# Release\n\nYou can create a new release by creating a new tag and bump the version in `package.json.`\n\n# Development\n\nVery nice that you want to work on the action. To create a working implementation, you can use the following command to perform all the necessary actions.\n\n```bash\npnpm run all\n```\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\n      \u003cimg src=\"docs/assets/images/staffbase.png\" alt=\"Staffbase SE\" width=\"96\" /\u003e\n    \u003c/td\u003e\n    \u003ctd\u003e\n      \u003cb\u003eStaffbase SE\u003c/b\u003e\n      \u003cbr /\u003eStaffbase is an internal communications platform built to revolutionize the way you work and unite your company. Staffbase is hiring: \u003ca href=\"https://jobs.staffbase.com\" target=\"_blank\" rel=\"noreferrer\"\u003ejobs.staffbase.com\u003c/a\u003e\n      \u003cbr /\u003e\u003ca href=\"https://github.com/Staffbase\" target=\"_blank\" rel=\"noreferrer\"\u003eGitHub\u003c/a\u003e | \u003ca href=\"https://staffbase.com/\" target=\"_blank\" rel=\"noreferrer\"\u003eWebsite\u003c/a\u003e | \u003ca href=\"https://jobs.staffbase.com\" target=\"_blank\" rel=\"noreferrer\"\u003eJobs\u003c/a\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaffbase%2Fautodev-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstaffbase%2Fautodev-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstaffbase%2Fautodev-action/lists"}