ci: verify what we publish from the consumer side (#5) #54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Calls the canonical plugin-ci reusable workflow (GetBusbar/busbar/.github/workflows/plugin-ci.yml) | |
| # instead of hand-copying build/test/signoff steps here — see that file for what actually runs. | |
| name: ci | |
| on: | |
| push: | |
| branches: [main, dev, qa] | |
| pull_request: | |
| branches: [main, dev, qa] | |
| # Manual trigger. Needed because `gh run rerun` PINS the reusable-workflow SHA: | |
| # a rerun re-uses the plugin-ci.yml snapshot from the original run, so a fix landing in | |
| # core's reusable workflow can only be picked up by a NEW run, never by rerunning an old one. | |
| workflow_dispatch: {} | |
| jobs: | |
| ci: | |
| uses: GetBusbar/busbar/.github/workflows/plugin-ci.yml@dev | |
| with: | |
| plugin_crate: busbar-auth-oidc-plugin | |
| plugin_kind: auth | |
| plugin_alias: oidc | |
| busbar_ref: ${{ github.base_ref || github.ref_name }} | |
| # base_ref FIRST: on a pull_request `github.ref_name` is '<number>/merge', not a branch | |
| # name, so this asked busbar for a branch called '5/merge' and the sibling checkout died | |
| # with an unreadable git error on EVERY pull request to this repo. | |
| # Same-branch intent is unchanged: qa builds core qa, dev builds core dev, never a | |
| # stale main or tag. | |
| service: none |