Skip to content
Snippets Groups Projects
Commit afe7e398 authored by Diogo Mendes's avatar Diogo Mendes
Browse files

Remove

parent 157b24fa
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,8 @@ jobs:
const { GITHUB_SERVER_URL, GITHUB_REPOSITORY, GITHUB_RUN_ID } = process.env;
const runUrl = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`
core.notice('Backport Failed for some reason. Please, check it.')
github.issues.createComment({
issue_number: ${{ needs.pr_info.outputs.number }},
owner: context.repo.owner,
......
......@@ -119,15 +119,15 @@ jobs:
- uses: actions/github-script@v4
with:
script: |
const core = require('@actions/core');
const { GITHUB_SERVER_URL, GITHUB_REPOSITORY, GITHUB_RUN_ID} = process.env;
const runUrl = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`
const author = context.payload.comment.user.login;
core.notice('Backport Failed for some reason. Please, check it.')
github.issues.createComment({
issue_number: context.payload.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `@${author} could not automatically a backport PR 😩 [[Logs]](${runUrl})`
})
core.notice('Backport Failed for some reason. Please, check it.')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment