Skip to content

Commit

Permalink
workflow test-15
Browse files Browse the repository at this point in the history
  • Loading branch information
ObedVega committed Feb 21, 2024
1 parent 9091b95 commit df17cda
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,18 @@ jobs:
script: return "Hello!"
result-encoding: string
- name: Get result
run: echo "${{steps.set-result.outputs.result}}"
run: echo "${{steps.set-result.outputs.result}}"
- name: Leave Comment
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const github = require('@actions/github');
const context = github.context;
const octokit = new github.GitHub(process.env.GITHUB_TOKEN);
octokit.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: 'Hello!'
});

0 comments on commit df17cda

Please sign in to comment.