{"id":20366869,"url":"https://github.com/distantcam/github-actions","last_synced_at":"2025-10-05T14:29:41.628Z","repository":{"id":143492132,"uuid":"161330914","full_name":"distantcam/github-actions","owner":"distantcam","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-11T13:44:55.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-15T05:39:43.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/distantcam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-12-11T12:31:43.000Z","updated_at":"2018-12-11T13:44:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a084a531-e2c8-4369-a5c2-cdcefc24c293","html_url":"https://github.com/distantcam/github-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distantcam%2Fgithub-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distantcam%2Fgithub-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distantcam%2Fgithub-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distantcam%2Fgithub-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distantcam","download_url":"https://codeload.github.com/distantcam/github-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241908668,"owners_count":20040661,"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-15T00:27:34.732Z","updated_at":"2025-10-05T14:29:36.584Z","avatar_url":"https://github.com/distantcam.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Actions\n\nThis repo is a collection of [GitHub Actions](https://github.com/features/actions) for working with GitHub itself. \n\nList of actions:\n\n- distantcam/github-actions/pattern-filter@master\n- distantcam/github-actions/delete-pr-branch@master\n- distantcam/github-actions/self-assign-pr@master\n\n## Pattern Filter\n\nAllows a workflow to filter based on some pattern in the event.\n\n```hcl\naction \"Filter Merged PR\" {\n  uses = \"distantcam/github-actions/pattern-filter@master\"\n  args = \".pull_request.merged true\"\n}\n\naction \"PR is not Assigned\" {\n  uses = \"distantcam/github-actions/pattern-filter@master\"\n  args = \".pull_request.assignee null\"\n}\n```\n\n## Delete PR Branch\n\nDeletes the branch associated with a PR. Won't delete `master`.\n\nThis can be combined with a filter.\n\n```hcl\naction \"Filter Closed\" {\n  uses = \"actions/bin/filter@95c1a3b\"\n  args = \"action closed\"\n}\n\naction \"Delete PR Branch\" {\n  uses = \"distantcam/github-actions/delete-pr-branch@master\"\n  needs = [\"Filter Closed\", \"Filter Merged PR\"]\n  secrets = [\"GITHUB_TOKEN\"]\n}\n```\n\n## Self-assign PR\n\nAssigns the user who opened a PR to the PR.\n\nThis can be combined with a filter.\n\n```hcl\naction \"Filter Opened\" {\n  uses = \"actions/bin/filter@95c1a3b\"\n  args = \"action opened\"\n}\n\naction \"Assign PR to opener\" {\n  uses = \"distantcam/github-actions/self-assign-pr@master\"\n  needs = [\"Filter Opened\", \"PR is not Assigned\"]\n  secrets = [\"GITHUB_TOKEN\"]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistantcam%2Fgithub-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistantcam%2Fgithub-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistantcam%2Fgithub-actions/lists"}