v1.15.0
Apps for your repositories
siGit Apps
An app can now work on your repositories under its own name instead of borrowing yours. You install it on your account, or on an organization you own or administer, and choose all repositories or only the ones you list.
- The install page shows what the app asks for before you accept. You can change the repositories, suspend the app or uninstall it under Settings, Installed apps.
- An app acts through tokens that last one hour and reach only the repositories you chose. It can never push. Uninstalling or suspending ends its tokens at once.
- With your permission an app can read pull requests and their diffs, post a review with line comments, comment on a pull request, report a commit status and look up a member's role in your organization. A review from an app never approves or requests changes.
- Apps hear about pull requests, reviews, comments and pushes on the repositories they cover.
siGit sets up each app. There is no public directory and you cannot register your own yet.
Webhooks hear when a pull request moves
If a repository webhook subscribes to pull_request, it now also receives the synchronize action, with the old and new head, when an open pull request's head moves. That covers a push to its branch, including a fork's branch, a mirror sync, applying a suggested change, syncing a fork, and a merge or stack rebase. Check any receiver that assumed it would only get the earlier actions.
Commit statuses
- A commit status can now be
neutral. It never blocks a merge, counts as reported for a required check, and shows as neutral in the merge box. - The statuses API now works for organization repositories. Anyone who administers a repository can post to it, not only the owner of a personal repository.
Security
If you gave a connected application only read access to your repositories, the git credential it could get from sigit.si was still able to push to anything you can write. That credential can now only read, and pushing needs write access. A credential made before this release can still push until it expires, at most an hour later.
websocket-driver is updated for a published advisory.