Skip to content

Commit

Permalink
ci: first test 3
Browse files Browse the repository at this point in the history
  • Loading branch information
leguass7 committed Nov 12, 2024
1 parent cc72484 commit b287e45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29979,9 +29979,9 @@ const github_1 = __nccwpck_require__(3848);
async function run() {
try {
const GITHUB_TOKEN = core.getInput('GITHUB_TOKEN');
const octokit = github.getOctokit(GITHUB_TOKEN);
// const octokit = github.getOctokit(GITHUB_TOKEN);
const eventData = (0, github_1.getEventData)();
console.log(`Event data:`, JSON.stringify(eventData, undefined, 2));
console.log(`Event data:`, GITHUB_TOKEN, JSON.stringify(eventData, undefined, 2));
// const { data: pullRequest } = await octokit.rest.pulls.get({
// owner: 'octokit',
// repo: 'rest.js',
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { getEventData } from './lib/github';
export async function run(): Promise<void> {
try {
const GITHUB_TOKEN: string = core.getInput('GITHUB_TOKEN');
const octokit = github.getOctokit(GITHUB_TOKEN);
// const octokit = github.getOctokit(GITHUB_TOKEN);

const eventData = getEventData();
console.log(`Event data:`, JSON.stringify(eventData, undefined, 2));
console.log(`Event data:`, GITHUB_TOKEN, JSON.stringify(eventData, undefined, 2));
// const { data: pullRequest } = await octokit.rest.pulls.get({
// owner: 'octokit',
// repo: 'rest.js',
Expand Down

0 comments on commit b287e45

Please sign in to comment.