Skip to content

Commit

Permalink
Run the release then push
Browse files Browse the repository at this point in the history
  • Loading branch information
terryknowlton committed Dec 5, 2024
1 parent 7331a62 commit bbe08ac
Show file tree
Hide file tree
Showing 246 changed files with 6 additions and 478,033 deletions.
12 changes: 6 additions & 6 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ function populatePushEventCommitDetails(pushEvent, context) {
}
async function populatePullRequestEventCommitDetails(pullRequestEvent, context) {
const head = pullRequestEvent.head;
const user = head.user;
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMIT_ID, head.sha);
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_USERNAME, user.login);
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_EMAIL, user.email ?? '');
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_NAME, user.name);
const user = head?.user;
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMIT_ID, head?.sha);
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_USERNAME, user?.login);
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_EMAIL, user?.email ?? '');
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMITTER_NAME, user?.name);
setVariable(environmentVariables_1.EnvironmentVariables.CI_PULL_REQUEST, pullRequestEvent.url);
setVariable(environmentVariables_1.EnvironmentVariables.CI_PR_NUMBER, pullRequestEvent.number?.toString());
const GITHUB_TOKEN = core.getInput('github-token');
Expand All @@ -100,7 +100,7 @@ async function populatePullRequestEventCommitDetails(pullRequestEvent, context)
const response = await octokit.rest.repos.getCommit({
owner: context.repo.owner,
repo: context.repo.repo,
ref: head.sha,
ref: head?.sha,
});
setVariable(environmentVariables_1.EnvironmentVariables.CI_COMMIT_MESSAGE, response.data.commit.message);
}
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/tsc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsserver

This file was deleted.

38 changes: 0 additions & 38 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 0 additions & 21 deletions node_modules/@types/node/LICENSE

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/@types/node/README.md

This file was deleted.

Loading

0 comments on commit bbe08ac

Please sign in to comment.