Automatically deploy pull requests for testing #8
@ -17,12 +17,8 @@ jobs:
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
console.log(context);
|
||||
console.log(context.payload.pull_request.head);
|
||||
const repositoryName = context.repo.repo;
|
||||
const branchName = context.payload.pull_request.head.ref;
|
||||
console.log('repositoryName', repositoryName);
|
||||
console.log('branchName', branchName);
|
||||
github.rest.issues.createComment({
|
||||
issue_number: context.issue.number,
|
||||
owner: context.repo.owner,
|
||||
|
Loading…
x
Reference in New Issue
Block a user