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

jobs:
  check:
    runs-on: ubuntu-latest
---
You can rename the job in that workflow to Dependabot Issues to match the required status check name:

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.

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
  • Loading branch information
petermetz committed Apr 23, 2021
1 parent 985f12f commit 7a68717
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 7a68717

Please sign in to comment.