Skip to content

Commit

Permalink
- enable feature preview for enterprise server
Browse files Browse the repository at this point in the history
  - FIX #37
  • Loading branch information
mikepenz committed Feb 11, 2021
1 parent b2a3d52 commit 74524a9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export async function run(): Promise<void> {
core.startGroup(`🚀 Publish results`)

try {
const octokit = github.getOctokit(token)
const octokit = github.getOctokit(token, {
previews: ['antiope-preview']
})
await octokit.checks.create(createCheckRequest)

if (failOnFailure && conclusion === 'failure') {
Expand Down

0 comments on commit 74524a9

Please # to comment.