{"id":22504947,"url":"https://github.com/bcbi/versionvigilante.jl","last_synced_at":"2026-02-23T02:03:53.141Z","repository":{"id":61799977,"uuid":"223270825","full_name":"bcbi/VersionVigilante.jl","owner":"bcbi","description":"Enforce the rule that all pull requests must increase the version number","archived":false,"fork":false,"pushed_at":"2020-09-25T07:37:48.000Z","size":62,"stargazers_count":6,"open_issues_count":4,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T23:23:26.876Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/bcbi.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":"2019-11-21T21:42:50.000Z","updated_at":"2021-03-01T02:26:43.000Z","dependencies_parsed_at":"2022-10-21T11:45:18.201Z","dependency_job_id":null,"html_url":"https://github.com/bcbi/VersionVigilante.jl","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcbi%2FVersionVigilante.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcbi%2FVersionVigilante.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcbi%2FVersionVigilante.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcbi%2FVersionVigilante.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcbi","download_url":"https://codeload.github.com/bcbi/VersionVigilante.jl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248860217,"owners_count":21173342,"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":[],"created_at":"2024-12-07T00:12:06.728Z","updated_at":"2026-02-23T02:03:53.109Z","avatar_url":"https://github.com/bcbi.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VersionVigilante\n\n[![Build Status](https://travis-ci.com/bcbi/VersionVigilante.jl.svg?branch=master)](https://travis-ci.com/bcbi/VersionVigilante.jl)\n[![Codecov](https://codecov.io/gh/bcbi/VersionVigilante.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/bcbi/VersionVigilante.jl)\n\nVersionVigilante enforces the rule that all pull requests must increase the version number in your Julia package's `Project.toml` file. This helps automate the continuous delivery (CD) process for your package.\n\nA good description of the CD workflow for Julia packages is available here: https://white.ucc.asn.au/2019/09/28/Continuous-Delivery-For-Julia-Packages.html\n\n## Basic usage\n\n```julia\nVersionVigilante.main(\"https://github.com/MyUsername/MyPackage.jl\")\n```\n\n```julia\nVersionVigilante.main(\"https://example.com/foo/bar/baz/MyPackage.jl\")\n```\n\n## Using on GitHub Actions\n\nAdd the following workflow to your repo in a workflow file\nnamed `.github/workflows/VersionVigilante_pull_request.yml`:\n```yaml\nname: VersionVigilante\n\non: pull_request\n\njobs:\n  VersionVigilante:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v1.0.0\n      - uses: julia-actions/setup-julia@latest\n      - name: VersionVigilante.main\n        id: versionvigilante_main\n        run: |\n          julia -e 'using Pkg; Pkg.add(\"VersionVigilante\")'\n          julia -e 'using VersionVigilante; VersionVigilante.main(\"https://github.com/${{ github.repository }}\")'\n      - name: ✅ Un-Labeller (if success)\n        if: (steps.versionvigilante_main.outputs.compare_versions == 'success') \u0026\u0026 (success() || failure())\n        continue-on-error: true\n        uses: actions/github-script@0.3.0\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.issues.removeLabel({...context.issue, name: 'needs version bump'})\n      - name: ❌ Labeller (if failure)\n        if: (steps.versionvigilante_main.outputs.compare_versions == 'failure') \u0026\u0026 (success() || failure())\n        continue-on-error: true\n        uses: actions/github-script@0.3.0\n        with:\n          github-token: ${{secrets.GITHUB_TOKEN}}\n          script: |\n            github.issues.addLabels({...context.issue, labels: ['needs version bump']})\n```\n\n## Using on Travis CI\n\nAdd the following to your `.travis.yml` file.\nMake sure to replace `MYUSERNAME` and `MYPACKAGE` with the correct values.\n```yaml\njobs:\n  include:\n    - stage: VersionVigilante\n      if: type = pull_request OR branch != master\n      julia: \"1.2\"\n      script:\n        - set -e\n        - julia -e 'using Pkg; Pkg.add(\"VersionVigilante\")'\n        - julia -e 'using VersionVigilante; VersionVigilante.main(\"https://github.com/MYUSERNAME/MYPACKAGE.jl\")'\n      after_success: true\n```\n\n## Using with Bors-NG\n\nIf you use [Bors](https://github.com/bors-ng/bors-ng) on your repository,\n[click here](instructions_bors.md) for instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcbi%2Fversionvigilante.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcbi%2Fversionvigilante.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcbi%2Fversionvigilante.jl/lists"}