Skip to content

Commit

Permalink
github: merge DCO and branch target jobs into one
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Sep 28, 2023
1 parent b5264c6 commit 14ba5a8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
dco-check:
permissions:
pull-requests: read # for tim-actions/get-pr-commits to get list of commits from the PR
name: Signed-off-by (DCO)
name: Signed-off-by (DCO) and branch target
runs-on: ubuntu-22.04
steps:
- name: Get PR Commits
Expand All @@ -23,12 +23,6 @@ jobs:
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}

target-branch:
permissions:
contents: none
name: Branch target
runs-on: ubuntu-22.04
steps:
- name: Check branch target
env:
TARGET: ${{ github.event.pull_request.base.ref }}
Expand Down

0 comments on commit 14ba5a8

Please sign in to comment.