Skip to content

Commit

Permalink
fix(ci): dependent issues bot workflow has no job id #848
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
petermetz committed Apr 27, 2021
1 parent de0f2d6 commit af61202
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependent-issues.yml
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
name: Dependabot Issues
steps:
- uses: z0al/dependent-issues@v1
env:
Expand Down

0 comments on commit af61202

Please sign in to comment.