mirror of
https://github.com/hadolint/hadolint-action.git
synced 2025-01-31 03:41:08 +01:00
chore: remove createComment(), depends on githubToken scopes
This commit is contained in:
parent
724e05f46b
commit
2faf5c6ef4
1 changed files with 0 additions and 20 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -81,26 +81,6 @@ jobs:
|
||||||
# This step will never fail, but will print out the results from step5
|
# This step will never fail, but will print out the results from step5
|
||||||
run: echo "${{ steps.hadolint5.outputs.results }}"
|
run: echo "${{ steps.hadolint5.outputs.results }}"
|
||||||
|
|
||||||
- name: Update Pull Request
|
|
||||||
uses: actions/github-script@v6
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
const output = `
|
|
||||||
#### Hadolint: \`${{ steps.hadolint5.outcome }}\`
|
|
||||||
_output from integration test 5_
|
|
||||||
\`\`\`
|
|
||||||
${process.env.HADOLINT_RESULTS}
|
|
||||||
\`\`\`
|
|
||||||
`;
|
|
||||||
|
|
||||||
github.rest.issues.createComment({
|
|
||||||
issue_number: context.issue.number,
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
body: output
|
|
||||||
})
|
|
||||||
|
|
||||||
#- name: Run integration test 6 - output to file
|
#- name: Run integration test 6 - output to file
|
||||||
# # This step will never fail, but will print out rule violations.
|
# # This step will never fail, but will print out rule violations.
|
||||||
# uses: ./
|
# uses: ./
|
||||||
|
|
Loading…
Add table
Reference in a new issue