{"id":16130334,"url":"https://github.com/paulfantom/periodic-labeler","last_synced_at":"2025-03-18T14:30:59.419Z","repository":{"id":64307072,"uuid":"222795882","full_name":"paulfantom/periodic-labeler","owner":"paulfantom","description":"GitHub action to periodically label all PRs in repository","archived":false,"fork":false,"pushed_at":"2020-09-24T10:56:55.000Z","size":21,"stargazers_count":14,"open_issues_count":3,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T10:04:21.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/paulfantom.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-11-19T21:45:51.000Z","updated_at":"2023-02-13T15:38:01.000Z","dependencies_parsed_at":"2023-01-15T11:00:51.234Z","dependency_job_id":null,"html_url":"https://github.com/paulfantom/periodic-labeler","commit_stats":{"total_commits":16,"total_committers":4,"mean_commits":4.0,"dds":0.5,"last_synced_commit":"f47a62ac0749f9bdd8f81a1e0fedb253b8af1505"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulfantom%2Fperiodic-labeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulfantom%2Fperiodic-labeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulfantom%2Fperiodic-labeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulfantom%2Fperiodic-labeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulfantom","download_url":"https://codeload.github.com/paulfantom/periodic-labeler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933419,"owners_count":20370986,"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-09T22:15:31.398Z","updated_at":"2025-03-18T14:30:59.183Z","avatar_url":"https://github.com/paulfantom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Periodic Labeler Action\n\nA GitHub action to automatically label all PRs according to file patterns.\n\n📝 *Note: The `pull_request_target` event [added to GitHub Actions](https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/) makes it possible to achieve this without a scheduled workflow. See [this post](https://jclem.net/posts/labeling-prs-on-public-github-repositories) for an example.*\n\n**Table of Contents**\n\n\u003c!-- toc --\u003e\n\n- [Usage](#usage)\n\n\u003c!-- tocstop --\u003e\n\n## Usage\n\nAction is meant to be run as periodic job. This is needed to workaround issues regarding\n[lack of write access when executed from fork](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/authenticating-with-the-github_token#permissions-for-the-github_token)\nwhich is a common problem when using https://github.com/actions/labeler.\n\n```\n---\nname: Pull request labeler\non:\n  schedule:\n    - cron: '*/5 * * * *'\njobs:\n  labeler:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: paulfantom/periodic-labeler@master\n        env:\n          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n          GITHUB_REPOSITORY: ${{ github.repository }}\n          LABEL_MAPPINGS_FILE: .github/labeler.yml\n```\n\nBy default action uses `.github/labeler.yml` located in repository from `GITHUB_REPOSITORY` as a source of pattern matchers.\nThis file uses the same schema as in https://github.com/actions/labeler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulfantom%2Fperiodic-labeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulfantom%2Fperiodic-labeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulfantom%2Fperiodic-labeler/lists"}