{"id":22201645,"url":"https://github.com/namchee/good-weekend","last_synced_at":"2025-10-25T04:46:36.497Z","repository":{"id":54852589,"uuid":"332192255","full_name":"Namchee/good-weekend","owner":"Namchee","description":"Automatically closes weekend-submitted pull requests. Enjoy your good weekends!","archived":false,"fork":false,"pushed_at":"2022-05-04T14:32:42.000Z","size":26,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-01T13:21:16.452Z","etag":null,"topics":["github-actions","weekend"],"latest_commit_sha":null,"homepage":"","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/Namchee.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":"2021-01-23T11:19:37.000Z","updated_at":"2022-06-30T06:01:23.000Z","dependencies_parsed_at":"2023-01-05T04:49:28.352Z","dependency_job_id":null,"html_url":"https://github.com/Namchee/good-weekend","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"783d35fcb7def87b87f0a14c047e08c5b2a63dae"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fgood-weekend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fgood-weekend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fgood-weekend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Namchee%2Fgood-weekend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Namchee","download_url":"https://codeload.github.com/Namchee/good-weekend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227760023,"owners_count":17815626,"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":["github-actions","weekend"],"created_at":"2024-12-02T16:09:43.773Z","updated_at":"2025-10-25T04:46:31.466Z","avatar_url":"https://github.com/Namchee.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Good Weekend\n\n[![Go Version](https://img.shields.io/github/go-mod/go-version/namchee/good-weekend)](https://github.com/Namchee/good-weekend)\n\nGood Weekend is a simple GitHub Action that automatically rejects any pull requests submitted on weekends. Enjoy your hassle-free weekends!\n\n## Usage\n\nSimply add this actions to your GitHub Workflows job, for example:\n\n```yaml\non:\n  pull_request:\n\njobs:\n  pr-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: good-weekend\n        uses: Namchee/good-weekend@v{version}\n        with:\n          access_token: \u003cYOUR_GITHUB_ACCESS_TOKEN_HERE\u003e\n```\n\nPlease refer to [GitHub Workflows Syntax](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions) for more advanced usage.\n\n## Inputs \n\nThis action is customizable with these following inputs (fill it in `with` section in the job steps)\n\nName | Required? | Default | Description\n---- | --------- | ------- | -----------\n`access_token` | `true` | | [GitHub's access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) which is used to interact with GitHub's API. It is recommended to store this with [GitHub secrets](https://docs.github.com/en/actions/reference/encrypted-secrets)\n`timezone` | `false` | `UTC` | Timezone location on [tz database](https://www.iana.org/time-zones). [Cheatsheet](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)\n`message` | `false` | [See here](./action.yml) | Message to be shown on weekend-submitted pull requests\n`label` | `false` | `good-weekend` | Label to be added on weekend-submitted pull requests\n\nFor more information, please refer to the [action metadata](./action.yml)\n\n## Forked Repository\n\nBy default, the `pull_request` event does not allow GitHub actions to be executed from a forked repository due to [GitHub repository access exploit via GitHub Action](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/). However, this can be circumenvented changing the [event target](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows) from `pull_request` to `pull_request_target` which changes the execution context from the fork to the base repository. Below is the example of action configuration using `pull_request_target`.\n\n```yaml\non:\n  pull_request_target:\n\njobs:\n  pr-check:\n    runs-on: ubuntu-latest\n    steps:\n      - name: good-weekend\n        uses: Namchee/good-weekend@v{version}\n        with:\n          access_token: \u003cYOUR_GITHUB_ACCESS_TOKEN_HERE\u003e\n```\n\n## License\n\nThis project is licensed under the [MIT license](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fgood-weekend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamchee%2Fgood-weekend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamchee%2Fgood-weekend/lists"}