This repository hosts Rokt's reusable GitHub workflows that we share across our projects for CI builds.
It also hosts a Trunk Plugin and associated custom linters.
In a child repository, you can reference the shared reusable workflow like this:
job-name:
name: "PR Notification"
uses: ROKT/rokt-workflows/.github/workflows/oss_pr_opened_notification.yml@main
secrets:
gchat_webhook: ${{ secrets.YOUR_SECRET }}
You can add the plugin to another repository by running:
trunk plugins add https://github.com/ROKT/rokt-workflows <ref> --id=rokt-trunk-plugin
You should then be able to add any custom linter defined in rokt-trunk-plugin/linters, e.g.:
trunk check enable validate-actions-versions