mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
build(deps): update actions/github-script action to v9 (#7387)
* build(deps): update actions/github-script action to v9 * build(deps): update actions/github-script to use ES module syntax --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -39,10 +39,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Prevent File Change
|
||||
uses: actions/github-script@v8
|
||||
uses: actions/github-script@v9
|
||||
with:
|
||||
script: |
|
||||
const { execSync } = require('child_process');
|
||||
import { execSync } from 'node:child_process';
|
||||
const pattern = /^docs\/[a-z][a-z][a-z]?-[A-Z][A-Z]?\/.*$/;
|
||||
const base = context.payload.pull_request.base.sha;
|
||||
const head = context.payload.pull_request.head.sha;
|
||||
|
||||
Reference in New Issue
Block a user