{"id":19863400,"url":"https://github.com/freenet-actions/cancel-workflow-on-weekdays","last_synced_at":"2026-04-24T20:36:37.576Z","repository":{"id":197730279,"uuid":"698178940","full_name":"freenet-actions/cancel-workflow-on-weekdays","owner":"freenet-actions","description":"OBSOLETE - This action cancels the workflow (or, to be exact, fails the step) if it was run on one of the specified weekdays.","archived":false,"fork":false,"pushed_at":"2026-02-16T16:40:46.000Z","size":601,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-16T23:56:36.133Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/freenet-actions/cancel-on-weekdays","language":"JavaScript","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/freenet-actions.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-09-29T10:35:16.000Z","updated_at":"2026-02-16T16:49:12.000Z","dependencies_parsed_at":"2023-11-14T15:28:02.099Z","dependency_job_id":"a5cba75c-28d5-43f8-a281-5b20e03fc996","html_url":"https://github.com/freenet-actions/cancel-workflow-on-weekdays","commit_stats":null,"previous_names":["freenet-actions/cancel-workflow-on-weekdays"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/freenet-actions/cancel-workflow-on-weekdays","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freenet-actions%2Fcancel-workflow-on-weekdays","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freenet-actions%2Fcancel-workflow-on-weekdays/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freenet-actions%2Fcancel-workflow-on-weekdays/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freenet-actions%2Fcancel-workflow-on-weekdays/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freenet-actions","download_url":"https://codeload.github.com/freenet-actions/cancel-workflow-on-weekdays/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freenet-actions%2Fcancel-workflow-on-weekdays/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32240200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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":["action","block","cancel","weekday","weekdays","workflow","workflows"],"created_at":"2024-11-12T15:14:30.921Z","updated_at":"2026-04-24T20:36:37.572Z","avatar_url":"https://github.com/freenet-actions.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# THIS ACTION WAS REPLACED BY [cancel-on-weekdays](https://github.com/freenet-actions/cancel-on-weekdays)!\n\n## OBSOLETE! This action/repository will be turned PRIVATE in future!\n\n\u003e [!CAUTION]  \n\u003e This action is now fully obsolete and unsupported. Please switch to the full replacement [cancel-on-weekdays](https://github.com/freenet-actions/cancel-on-weekdays).\n\u003e \n\u003e In future, **this action will be turned PRIVATE!**\n\n# Cancel Workflow on Weekdays\n\n[![LICENSE](https://img.shields.io/github/license/freenet-actions/cancel-workflow-on-weekdays)](https://github.com/freenet-actions/cancel-workflow-on-weekdays/blob/main/LICENSE)\n\nThis action cancels the workflow (or, to be exact, fails the step) if it was run on one of the specified weekdays.\n\n## Inputs\n\n### `blocked_days`\n\n*Default: 'friday, saturday, sunday'*\n\nA not case-sensitive list of weekdays (0-6 or English words) that workflows calling this action should be blocked on. Separated either through lines, or commas, or both.\n\nSee below for more detailed info and examples.\n\n**0 = Sunday...6 = Saturday**\n\n## Outputs\n\n### `cancellation_reason`\n\nThe reason of the cancellation of the workflow. Empty if the workflow was not cancelled.\n\n## Usage\n\n#### This action should be run before any steps that might affect any systems, preferably as the first step of the deployment process.\n\n### Cancelling during the weekend (Friday to Sunday)\n\n```yaml\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\n```\n\n### Cancelling on specific days\n\n```yaml\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\nwith:\n  blocked_days: |\n    saturday\n    sunday\n    monday\n```\n\n### Cancelling on specific days (in a single line)\n\n**Note:** Spaces after the commas are *optional*.\n\n```yaml\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\nwith:\n  blocked_days: 'saturday, sunday, monday'\n```\n\n### Cancelling on specific days (using numbers)\n\n**Note:** Also works in a single line, see above.\n\n```yaml\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\nwith:\n  blocked_days: |\n    6\n    0\n    1\n```\n\n### Cancelling based on workflow variables\n\n#### Only cancelling on specific days if the `environment` is `prod`\n\n```yaml\nif: inputs.environment == 'prod'\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\nwith:\n  blocked_days: 'saturday, sunday, monday'\n```\n\n#### Only cancelling on specific days if the input `enforce` is `false`\n\n```yaml\nif: inputs.enforce == false\nuses: freenet-actions/cancel-workflow-on-weekdays@v1\nwith:\n  blocked_days: 'saturday, sunday, monday'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreenet-actions%2Fcancel-workflow-on-weekdays","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreenet-actions%2Fcancel-workflow-on-weekdays","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreenet-actions%2Fcancel-workflow-on-weekdays/lists"}