Skip to content

Commit

Permalink
fix(ci): dependent issues bot workflow has no job id hyperledger-cact…
Browse files Browse the repository at this point in the history
…i#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 hyperledger-cacti#848

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Apr 23, 2021
1 parent 985f12f commit 392f67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dependent-issues.yml
Original file line number Diff line number Diff line change
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 392f67d

Please sign in to comment.