fix: Do not explicitly define github and context for CI actions
This commit is contained in:
2
.github/workflows/docs-change.yml
vendored
2
.github/workflows/docs-change.yml
vendored
@@ -13,8 +13,6 @@ jobs:
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
script: |
|
||||
const github = require('@actions/github');
|
||||
const { context } = github;
|
||||
const { pull_request } = context.payload;
|
||||
|
||||
const label = 'documentation-change';
|
||||
|
Reference in New Issue
Block a user