{"id":16361538,"url":"https://github.com/elstudio/actions-settings","last_synced_at":"2025-03-21T00:31:47.380Z","repository":{"id":39358194,"uuid":"193908339","full_name":"elstudio/actions-settings","owner":"elstudio","description":"GitHub Actions to run Probot settings and set defaults","archived":false,"fork":false,"pushed_at":"2023-02-03T14:30:39.000Z","size":738,"stargazers_count":18,"open_issues_count":9,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-15T11:21:01.824Z","etag":null,"topics":["github-actions","probot-settings"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/elstudio.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":"2019-06-26T13:19:32.000Z","updated_at":"2023-07-05T09:49:11.000Z","dependencies_parsed_at":"2023-02-18T08:00:49.317Z","dependency_job_id":null,"html_url":"https://github.com/elstudio/actions-settings","commit_stats":{"total_commits":69,"total_committers":4,"mean_commits":17.25,"dds":0.3188405797101449,"last_synced_commit":"6672442304286a032a576a76488777db8c365f1f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-settings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-settings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-settings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elstudio%2Factions-settings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elstudio","download_url":"https://codeload.github.com/elstudio/actions-settings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244717391,"owners_count":20498283,"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-actions","probot-settings"],"created_at":"2024-10-11T02:14:13.228Z","updated_at":"2025-03-21T00:31:45.893Z","avatar_url":"https://github.com/elstudio.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# actions-settings\nGitHub Action to run [Probot settings](https://github.com/probot/settings) to set repository defaults.\n\nThis action simply runs probot-settings, which can be used to set up labels, branch protection rules -- pretty much anything on the repository settings tab. Settings are read from a yaml file in the repository.\n\n\n## Example Use\n\nExample `probot-settings.yml` file:\n\n```yaml\nname: Enforce repository settings\n\non: [push]\n\njobs:\n  probot-settings:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run probot-settings\n      uses: elstudio/actions-settings@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### A fancer example\n\nLet's say you run `probot-settings` just one time. (Which is useful if you're setting up labels when a repository is first created.)\n\nFancier example `probot-settings.yml` file:\n\n```yaml\nname: Enforce repository settings just once\n\non: [push]\n\njobs:\n  probot-settings:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@v2\n    - name: Run probot-settings\n      uses: elstudio/actions-settings@v2\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n\n\n    - name: Remove workflow file from master branch\n      run: rm ./.github/workflows/probot-settings.yml\n      if: endsWith(github.ref, '/master') \u0026\u0026 ! endsWith(github.repository, '-template')\n\n    - name: Commit changes\n      uses: elstudio/actions-js-build/commit@v3\n      env:\n        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felstudio%2Factions-settings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felstudio%2Factions-settings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felstudio%2Factions-settings/lists"}