@rightkit/ci 0.3.8 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rightkit/ci",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Public-repo-only GitHub Actions workflow layer: templates, visibility gate, sync/drift/adopt/uninstall for right-git.",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "type": "module",
@@ -29,6 +29,10 @@ ${CI_JOB_CONCURRENCY} steps:
29
29
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
30
30
  with:
31
31
  fetch-depth: 0
32
+ - name: Name the pull request base for the gate's merge-base rules
33
+ if: github.event_name == 'pull_request'
34
+ shell: bash
35
+ run: git update-ref "refs/remotes/origin/${DEFAULT_BRANCH}" "$(git rev-parse --verify 'HEAD^1^{commit}')"
32
36
  - name: Restore last green commit marker
33
37
  if: github.event_name != 'pull_request'
34
38
  uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0