mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-02-02 23:39:03 +00:00
ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
d21551b9d7
commit
4c11a2f073
@ -43,18 +43,25 @@ jobs:
|
||||
LABEL_REMOVE = 'precommit:ok'
|
||||
}
|
||||
|
||||
github.issues.addLabels({
|
||||
await github.issues.addLabels({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
labels: [LABEL_ADD]
|
||||
})
|
||||
github.issues.removeLabel({
|
||||
await github.issues.removeLabel({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
name: LABEL_REMOVE
|
||||
})
|
||||
.catch(err => {
|
||||
// Ignore errors that provide the label is not there
|
||||
if (err.status !== 404 && err.status !== 410) {
|
||||
core.error(`Unexpected error status: ${err.status} with message: ${err.message}`);
|
||||
throw err;
|
||||
}
|
||||
});
|
||||
|
||||
label-lint-install:
|
||||
name: Label lint and install status
|
||||
@ -114,14 +121,14 @@ jobs:
|
||||
LABEL_REMOVE = 'lint:ok'
|
||||
}
|
||||
|
||||
github.issues.addLabels({
|
||||
await github.issues.addLabels({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
labels: [LABEL_ADD]
|
||||
})
|
||||
try {
|
||||
github.issues.removeLabel({
|
||||
await github.issues.removeLabel({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
@ -146,14 +153,14 @@ jobs:
|
||||
LABEL_REMOVE = 'install:ok'
|
||||
}
|
||||
|
||||
github.issues.addLabels({
|
||||
await github.issues.addLabels({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
labels: [LABEL_ADD]
|
||||
})
|
||||
try {
|
||||
github.issues.removeLabel({
|
||||
await github.issues.removeLabel({
|
||||
issue_number: ${{ steps.source-run-info.outputs.pullRequestNumber }},
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
|
Loading…
Reference in New Issue
Block a user