{"id":49885890,"url":"https://github.com/meyer1994/pyaction","last_synced_at":"2026-05-15T18:15:33.799Z","repository":{"id":52354292,"uuid":"342458948","full_name":"meyer1994/pyaction","owner":"meyer1994","description":"Proof of context for a Python based GitHub action configuration","archived":false,"fork":false,"pushed_at":"2023-07-18T19:49:23.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-18T20:47:48.676Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/meyer1994.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}},"created_at":"2021-02-26T04:06:59.000Z","updated_at":"2023-07-18T20:47:48.677Z","dependencies_parsed_at":"2022-09-07T19:50:33.287Z","dependency_job_id":null,"html_url":"https://github.com/meyer1994/pyaction","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/meyer1994/pyaction","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyer1994%2Fpyaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyer1994%2Fpyaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyer1994%2Fpyaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyer1994%2Fpyaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meyer1994","download_url":"https://codeload.github.com/meyer1994/pyaction/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyer1994%2Fpyaction/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-05-15T18:15:33.152Z","updated_at":"2026-05-15T18:15:33.794Z","avatar_url":"https://github.com/meyer1994.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyactions\n\n[![build](https://github.com/meyer1994/pyactions/actions/workflows/build.yml/badge.svg)](https://github.com/meyer1994/pyactions/actions/workflows/build.yml)\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\nA very silly proof of concept\n\n## Table of Contents\n\n- [About](#about)\n- [Install](#install)\n- [Usage](#usage)\n\n## About\n\nI've read [this][1] blog post on Reddit and tried to implement something that\ncould work as a configuration but has all the goods of a programming language.\nI've used python because I am most proficient in it, but this could be created\nin any language \u003csup\u003e(maybe not intercal)\u003c/sup\u003e.\n\nThis works by simply using python to generate a valid GitHub actions YAML file.\n¯\\\\_(ツ)_/¯\n\n## Install\n\n```\npip install -r requirements.txt\n```\n\n## Usage\n\nSee this example. It generates an equivalent YAML to the one being used in this\nrepository right now.\n\n```py\nfrom action import Action\n\nclass GitHubAction(Action):\n    def configure(self):\n        self.name = 'build'\n        self.on = ['push', 'pull_request']\n\n        with self.job('build') as j:\n            j.runs_on = 'ubuntu-latest'\n            j.uses('actions/checkout@v2')\n            with j.uses('actions/steup-python@v2') as setup:\n                setup['python-version'] = '3.9'\n            j.run('pip install -r requirements.txt')\n            j.run('python -m unittest -vb test.py')\n\naction = GitHubAction()\nyaml = action.yaml()\n```\n\n[1]: https://blog.earthly.dev/intercal-yaml-and-other-horrible-programming-languages/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyer1994%2Fpyaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeyer1994%2Fpyaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyer1994%2Fpyaction/lists"}