mirror of https://github.com/qTox/qTox.git
Browse Source
So that each commit in repo is tested, including merge commits that aren't present in PRs. Also prepares for running releases only on push but not on PRs. Workflows have a global runs-on, so commit format check needs to be split out from the shared PR and push workflow to since checking all commit messages on pushes always fails due to very old commits not following the proper format.reviewable/pr6384/r1
2 changed files with 16 additions and 13 deletions
@ -0,0 +1,14 @@
@@ -0,0 +1,14 @@
|
||||
name: Commit Format |
||||
on: pull_request |
||||
jobs: |
||||
verify-commit-format: |
||||
name: Verify Commit Format |
||||
runs-on: ubuntu-18.04 |
||||
env: |
||||
GITHUB_CONTEXT: ${{ github.event.pull_request.commits_url }} |
||||
steps: |
||||
- uses: actions/checkout@v2 |
||||
with: |
||||
fetch-depth: 0 # so that we can see the full commit range |
||||
- name: Run |
||||
run: ./.travis/verify-commit-format.sh |
||||
Loading…
Reference in new issue