Skip to content

Commit

Permalink
Remove outdated GitHub API preview (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-k authored Jan 24, 2023
1 parent ba6a7f9 commit ffa102d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13518,9 +13518,7 @@ async function run() {
try {
const token = _actions_core__WEBPACK_IMPORTED_MODULE_0__.getInput('github-token', { required: true });

const octokit = new _actions_github__WEBPACK_IMPORTED_MODULE_1__.GitHub(token, {
previews: ['mockingbird-preview'],
});
const octokit = new _actions_github__WEBPACK_IMPORTED_MODULE_1__.GitHub(token);

const epics = await getReferencedEpics({ octokit });
await updateEpics({ octokit, epics });
Expand Down
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ async function run() {
try {
const token = core.getInput('github-token', { required: true });

const octokit = new github.GitHub(token, {
previews: ['mockingbird-preview'],
});
const octokit = new github.GitHub(token);

const epics = await getReferencedEpics({ octokit });
await updateEpics({ octokit, epics });
Expand Down

0 comments on commit ffa102d

Please sign in to comment.