Skip to content

Commit

Permalink
Added an info message to log the images versions passed to Antithesis
Browse files Browse the repository at this point in the history
  • Loading branch information
youhanaNaseim committed Jan 16, 2024
1 parent d038fba commit a45f15c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
5 changes: 1 addition & 4 deletions dist/index.js

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

8 changes: 2 additions & 6 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export async function run(): Promise<void> {
// Read images informaiton
const images = core.getInput('images')

core.info(`Images: ${images}`)

// Build the request body
const github_token = core.getInput('github_token')

Expand Down Expand Up @@ -73,12 +75,6 @@ export async function run(): Promise<void> {
try {
const octokit = getOctokit(github_token)

core.info(`Context: ${JSON.stringify(context)}`)

core.info(`Owner: ${owner}`)
core.info(`Repo: ${repo}`)
core.info(`Sha: ${sha}`)

if (owner && repo && sha) {
octokit.rest.repos.createCommitStatus({
owner,
Expand Down

0 comments on commit a45f15c

Please sign in to comment.