Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 0 additions & 64 deletions .github/workflows/auto-start-ci.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/build-tarball.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/build-windows.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/close-stalled.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/comment-labeled.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/commit-lint-problem-matcher.json

This file was deleted.

34 changes: 24 additions & 10 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,33 @@ name: "Commit messages adheres to guidelines at https://goo.gl/p2fr5Q"
on: [pull_request]

jobs:
lint-commit-message:
fetch-depth-no-plus-one-with-ref:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
# Last 100 commits should be enough for a PR
fetch-depth: 100
- name: Use Node.js 12
uses: actions/setup-node@v1
fetch-depth: ${{ github.event.pull_request.commits }}
- run: git log --oneline
fetch-depth-plus-one-with-ref:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: $((${{ github.event.pull_request.commits }} + 1))
- run: git log --oneline
fetch-depth-no-plus-one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: ${{ github.event.pull_request.commits }}
- run: git log --oneline
fetch-depth-plus-one:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
node-version: 12.x
- name: Validate commit messages
run: |
echo "::add-matcher::.github/workflows/commit-lint-problem-matcher.json"
git log --oneline ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} | grep -v -e fixup -e squash | awk '{ print $1 }' | xargs npx -q core-validate-commit --no-validate-metadata --tap
fetch-depth: $((${{ github.event.pull_request.commits }} + 1))
- run: git log --oneline
82 changes: 0 additions & 82 deletions .github/workflows/commit-queue.yml

This file was deleted.

Loading