Skip to content

Commit

Permalink
build(release): 1.2.0 [skip ci]
Browse files Browse the repository at this point in the history
# [1.2.0](v1.1.5...v1.2.0) (2023-08-29)

### Features

* add GitHub Enterprise Server (GHES) support ([#36](#36)) ([ede6c15](ede6c15))
  • Loading branch information
semantic-release-bot committed Aug 29, 2023
1 parent ede6c15 commit c72844c
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 13 deletions.
19 changes: 13 additions & 6 deletions dist/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15081,12 +15081,19 @@ if (!process.env.GITHUB_REPOSITORY) {
var appId = import_core2.default.getInput("app_id");
var privateKey = import_core2.default.getInput("private_key");
var repository = process.env.GITHUB_REPOSITORY;
main(appId, privateKey, repository, import_core2.default, import_auth_app.createAppAuth, import_request.request).catch(
(error) => {
console.error(error);
import_core2.default.setFailed(error.message);
}
);
main(
appId,
privateKey,
repository,
import_core2.default,
import_auth_app.createAppAuth,
import_request.request.defaults({
baseUrl: process.env["GITHUB_API_URL"]
})
).catch((error) => {
console.error(error);
import_core2.default.setFailed(error.message);
});
/*! Bundled license information:

is-plain-object/dist/is-plain-object.js:
Expand Down
15 changes: 9 additions & 6 deletions dist/post.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2969,12 +2969,15 @@ async function post(core3, request2) {
}

// post.js
post(import_core2.default, import_request.request).catch(
(error) => {
console.error(error);
import_core2.default.setFailed(error.message);
}
);
post(
import_core2.default,
import_request.request.defaults({
baseUrl: process.env["GITHUB_API_URL"]
})
).catch((error) => {
console.error(error);
import_core2.default.setFailed(error.message);
});
/*! Bundled license information:
is-plain-object/dist/is-plain-object.js:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "create-github-app-token",
"private": true,
"type": "module",
"version": "1.1.5",
"version": "1.2.0",
"description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node16.16",
Expand Down

0 comments on commit c72844c

Please sign in to comment.