Skip to content

Commit 933cd08

Browse files
authored
ci: update generic workflows (#206)
1 parent 05df04c commit 933cd08

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/automerge-for-humans-add-ready-to-merge-or-do-not-merge-label.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
repo: pull.head.repo.name,
5151
basehead: `${pull.base.label}...${pull.head.label}`,
5252
});
53-
if (comparison.behind_by !== 0) {
53+
if (comparison.behind_by !== 0 && pull.mergeable_state === 'behind') {
5454
console.log(`This branch is behind the target by ${comparison.behind_by} commits`)
5555
console.log('adding out-of-date comment...');
5656
github.rest.issues.createComment({
@@ -108,4 +108,4 @@ jobs:
108108
owner: context.repo.owner,
109109
repo: context.repo.repo,
110110
labels: ['autoupdate']
111-
})
111+
})

.github/workflows/automerge-orphans.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
name: Send info about orphan to slack
5858
uses: rtCamp/action-slack-notify@v2
5959
env:
60-
SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}}
60+
SLACK_WEBHOOK: ${{secrets.SLACK_CI_FAIL_NOTIFY}}
6161
SLACK_TITLE: 🚨 Not merged PR that should be automerged 🚨
6262
SLACK_MESSAGE: ${{steps.issuemarkdown.outputs.text}}
6363
MSG_MINIMAL: true

.github/workflows/link-check-cron.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
# Checks the status of hyperlinks in .md files
1919
- name: Check links
20-
uses: derberg/github-action-markdown-link-check@temporary-fix
20+
uses: gaurav-nelson/github-action-markdown-link-check@v1
2121
with:
2222
use-quiet-mode: 'yes'
2323
use-verbose-mode: 'yes'
@@ -32,5 +32,5 @@ jobs:
3232
status: ${{ job.status }}
3333
fields: repo,action,workflow
3434
env:
35-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DOCS_CHANNEL }}
35+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }}
3636
if: failure() # Only, on failure, send a message on the Slack Docs Channel (if there are broken links)

.github/workflows/link-check-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout repo
1717
uses: actions/checkout@v3
1818
- name: Check links
19-
uses: derberg/github-action-markdown-link-check@temporary-fix
19+
uses: gaurav-nelson/github-action-markdown-link-check@v1
2020
with:
2121
use-quiet-mode: 'yes'
2222
use-verbose-mode: 'yes'

0 commit comments

Comments
 (0)