You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Composer releases, I've been manually triggering a test build on each release. Would be nice if we could automate this.
For PHPCS releases, tests/PHPCSVersions.php class needs to be updated on a new release. Again, would be nice if we could automate this.
I'm not sure how to trigger a workflow on the release of another package, but if there is no predefined way to do so, we could possibly do this by:
Having a dev file committed in the repo with the version nr of the "last seen release" of each package.
Running a workflow via a daily cron job which would compare the "last release" from the packages against the stored "last seen release" and would trigger the test/test update workflows if the versions are not the same.
The text was updated successfully, but these errors were encountered:
I'm not sure how to trigger a workflow on the release of another package
As far as I'm aware there is no such feature, unless you are the owner of both repos.
The most sane approach would seem to be periodically checking for new releases by using on.schedule.cron
Since opening this issue, both PHP_CodeSniffer and this project live under the same organization, so it should now be possible to trigger a build of the one from the other.
I'd have to look back into my bag of tricks, but from the top of my head, I think it was the repository_dispatch trigger that could be used.
Since opening this issue, both PHP_CodeSniffer and this project live under the same organization, so it should now be possible to trigger a build of the one from the other.
I'd have to look back into my bag of tricks, but from the top of my head, I think it was the repository_dispatch trigger that could be used.
For Composer releases, I've been manually triggering a test build on each release. Would be nice if we could automate this.
For PHPCS releases,
tests/PHPCSVersions.php
class needs to be updated on a new release. Again, would be nice if we could automate this.I'm not sure how to trigger a workflow on the release of another package, but if there is no predefined way to do so, we could possibly do this by:
The text was updated successfully, but these errors were encountered: