From af61202f73b72efe6df31e5697eedd94f84d417c Mon Sep 17 00:00:00 2001
From: Peter Somogyvari <peter.somogyvari@accenture.com>
Date: Fri, 23 Apr 2021 09:47:34 -0700
Subject: [PATCH] fix(ci): dependent issues bot workflow has no job id #848

There's a mismatch in what you have set as the name of the required status check for the main branch (Dependabot Issues) and what the check is actually called when the workflow runs (check)

https://github.com/hyperledger/cactus/actions/runs/772009240/workflow

```yaml
jobs:
  check:
    runs-on: ubuntu-latest
---
```

You can rename the job in that workflow to Dependabot Issues to match the required status check name:

```yaml
jobs:
  check:
    runs-on: ubuntu-latest
    name: Dependabot Issues
----
```
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idname

The check will then be displayed as Dependabot Issues - if this was the intended name - and will satisfy the protected branches rule.

Fixes #848

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
---
 .github/workflows/dependent-issues.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/dependent-issues.yml b/.github/workflows/dependent-issues.yml
index 2ddf010ea3..5639da643b 100644
--- a/.github/workflows/dependent-issues.yml
+++ b/.github/workflows/dependent-issues.yml
@@ -18,6 +18,7 @@ on:
 jobs:
   check:
     runs-on: ubuntu-latest
+    name: Dependabot Issues
     steps:
       - uses: z0al/dependent-issues@v1
         env: