Skip to content
Snippets Groups Projects
Commit e7ca4de1 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

bak

parent 8fd78afd
No related branches found
No related tags found
No related merge requests found
......@@ -16,5 +16,8 @@ jobs:
uses: actions/checkout@v2
- run: npm install
- run: ls "${{ github.workspace }}"
- run: "${{ github.workspace }}/action.js"
- name: Main work
env:
GITHUB_TOKEN: ${{ github.token }}
run: "${{ github.workspace }}/action.js"
- run: echo "job.status ${{ job.status }}."
......@@ -57,12 +57,12 @@ for (const image of images) {
console.log(github.context);
//const token = core.getInput("token");
const pull_request_number = 237;
const pull_request_number = ;
const octokit = new github.getOctokit(process.env.GITHUB_TOKEN);
const new_comment = octokit.issues.createComment({
owner: 'cirosantilli',
repo: 'china-dictatorship',
issue_number: pull_request_number,
repo: context.payload.repository.name,
issue_number: context.payload.pull_request.number,
body: 'asdf'
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment