{"id":25599888,"url":"https://github.com/endormi/yearplusplus","last_synced_at":"2026-04-21T22:35:55.442Z","repository":{"id":232805729,"uuid":"783348619","full_name":"endormi/yearplusplus","owner":"endormi","description":"Simple GitHub action for automating the year change in specified files","archived":false,"fork":false,"pushed_at":"2025-03-11T07:45:00.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T08:32:39.159Z","etag":null,"topics":["actions","automation","github-actions","workflow","year"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/yearplusplus","language":"YAML","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/endormi.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-07T16:38:59.000Z","updated_at":"2025-03-11T07:42:18.000Z","dependencies_parsed_at":"2025-02-21T14:51:24.042Z","dependency_job_id":null,"html_url":"https://github.com/endormi/yearplusplus","commit_stats":null,"previous_names":["endormi/yearplusplus"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/endormi/yearplusplus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fyearplusplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fyearplusplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fyearplusplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fyearplusplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endormi","download_url":"https://codeload.github.com/endormi/yearplusplus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endormi%2Fyearplusplus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263335795,"owners_count":23450931,"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","automation","github-actions","workflow","year"],"created_at":"2025-02-21T14:41:15.341Z","updated_at":"2026-04-21T22:35:50.415Z","avatar_url":"https://github.com/endormi.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yearplusplus\n\nGitHub Action to automatically update year in specified files.\n\n## Usage\n\n| Input Name  | Description                             | Required | Default Value             |\n|-------------|-----------------------------------------|----------|---------------------------|\n| `files`          | Files to update                    | Yes      |                           |\n| `username`       | Username for the commit            | No       | github-actions[bot]       |\n| `email`          | Email for the commit               | No       | github-actions[bot] email |\n| `commit_message` | Commit message                     | No       | Update copyright year     |\n| `from_year`      | Year to replace (customizable)     | No       | Last year                 |\n| `to_year`        | Year to replace with (customizable)| No       | Current year              |\n\nOne of these is required for this Workflow to work (otherwise you get an 403 error):\n\nOption 1: Go to Settings of your repository, then navigate to Actions \u003e General. Under \"Workflow permissions,\" choose Read and write permissions.\n\nOption 2: Create a PAT (Personal Access Token) with the necessary permissions. You can do this in your GitHub account settings. Once created, add the PAT as a secret in your repository settings and use it in your workflow.\n\n## Example\n\n```yaml\nname: Update Year\n\non:\n  schedule:\n    - cron: \"0 1 1 1 *\" # 01:00 on January 1\n\njobs:\n  update_year:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout Repository\n        uses: actions/checkout@v3\n        # You might not need this\n        # with:\n          # token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # Whichever name you decide to use.\n\n      - name: Update year in specified files\n        uses: endormi/yearplusplus@v2\n        with:\n          files: 'LICENSE'      # Provide the file(s) you want to update\n          # username: 'Year++'  # Optional: specify a username (defaults to 'github-actions[bot]')\n          # email: '\u003c\u003e'         # Optional: specify an email (defaults to 'github-actions[bot]@users.noreply.github.com')\n          # commit_message: ''  # Optional: specify commit message (defaults to 'Update copyright year')\n          # from_year: '2023'   # Optional: specify the year to replace (defaults to last year)\n          # to_year: '2024'     # Optional: specify the year to replace with (defaults to current year)\n```\n\n## License\n\nThe source code is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendormi%2Fyearplusplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendormi%2Fyearplusplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendormi%2Fyearplusplus/lists"}