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