Skip to content

Commit

Permalink
fix: empty commit for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jul 11, 2022
1 parent 440e0dc commit 068aacf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/actions/pipeline-config-scrapper/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/pipeline-config-scrapper/index.js.map

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions src/actions/pipeline-config-scrapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ async function action() {
.addHeading("🔍 Analized", 3)
.addRaw(
[
"<details>",
"<summary>Received context:</summary>",
"```json ",
"<details><summary>Received context:</summary>\n\n```json \n",
JSON.stringify(github.context, null, 2),
" \n```",
"</details>",
" \n\n ```</details>",
].join('\n'),
true
)
Expand Down
2 changes: 2 additions & 0 deletions src/actions/pipeline-config-scrapper/src/git.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const core = require("@actions/core");
const github = require("@actions/github");

module.exports = async (analysis) => {
analysis.event = github.context.eventName

core.info(`this run was trigged by event=${analysis.event}`);
analysis.outputs.event = analysis.event
}

0 comments on commit 068aacf

Please sign in to comment.