{"id":18750632,"url":"https://github.com/webiny/action-post-run","last_synced_at":"2025-04-12T23:32:19.539Z","repository":{"id":40369638,"uuid":"282840310","full_name":"webiny/action-post-run","owner":"webiny","description":"Enables executing custom commands once a workflow job has ended.","archived":false,"fork":false,"pushed_at":"2024-01-26T15:32:50.000Z","size":216,"stargazers_count":20,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T03:02:45.169Z","etag":null,"topics":["actions","github","post"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/webiny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-07-27T08:37:19.000Z","updated_at":"2024-11-07T17:55:48.000Z","dependencies_parsed_at":"2024-06-18T21:24:41.880Z","dependency_job_id":null,"html_url":"https://github.com/webiny/action-post-run","commit_stats":{"total_commits":22,"total_committers":4,"mean_commits":5.5,"dds":"0.13636363636363635","last_synced_commit":"91e108a2f967284e75d828a2b7ed2e0c568e0392"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webiny%2Faction-post-run","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webiny%2Faction-post-run/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webiny%2Faction-post-run/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webiny%2Faction-post-run/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webiny","download_url":"https://codeload.github.com/webiny/action-post-run/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647257,"owners_count":21139081,"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":["actions","github","post"],"created_at":"2024-11-07T17:12:39.522Z","updated_at":"2025-04-12T23:32:15.059Z","avatar_url":"https://github.com/webiny.png","language":"TypeScript","readme":"# Post-Run GitHub action\n\nA simple GitHub action that enables running post-run steps, once a workflow job has ended.\n\n## Inputs\n\n### `run`\n\n**Required** A command that needs to be run. Default `echo \"This is a post-run step...\"`.\n\n## Example usage\nLatest version: `3.1.0`\n\n```yaml\nname: Build\n\non:\n  push:\n    branches: [ master ]\n\nenv:\n  GH_TOKEN: ${{ secrets.GH_TOKEN }}\n\njobs:\n  something:\n    name: Do something...\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n    \n      - uses: webiny/action-post-run@3.1.0\n        id: post-run-command\n        with:\n          run: echo \"this thing works!\"\n\n      - uses: webiny/action-post-run@3.1.0\n        id: another-post-run-command\n        with:\n          run: echo \"this thing works again!\"\n          working-directory: not-required-but-you-can-provide-it\n\n      - name: 'Running an non-existing command will fail...'\n        run: run something that does not exist;\n```\n\nThis above configuration will produce the following:\n\n![image](./docs/action-results.png)\n\nℹ️ Note the order of execution. The `run: echo \"this thing works again!\"` was executed before the `run: echo \"this thing works!\"` command.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebiny%2Faction-post-run","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebiny%2Faction-post-run","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebiny%2Faction-post-run/lists"}