diff options
author | John Estabrook <jestabro@vyos.io> | 2022-10-14 15:49:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 15:49:23 -0500 |
commit | 813236e6ca265f15fe81b09a0a61feb3a3d0193b (patch) | |
tree | 87768fe14608498b23a66c49a0b14585016cab35 /.github/workflows | |
parent | 326c43632b94473083d8e78e71dca3c0ab3473f7 (diff) | |
parent | ba8099518353eafc95aa1e49c6b63cfe6ca1615a (diff) | |
download | vyos-1x-813236e6ca265f15fe81b09a0a61feb3a3d0193b.tar.gz vyos-1x-813236e6ca265f15fe81b09a0a61feb3a3d0193b.zip |
Merge pull request #1588 from dmbaturin/pr-title-check
T4748: add a CI action to check pull request title format
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull-request-message-check.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/pull-request-message-check.yml b/.github/workflows/pull-request-message-check.yml new file mode 100644 index 000000000..8c206a5ab --- /dev/null +++ b/.github/workflows/pull-request-message-check.yml @@ -0,0 +1,23 @@ +--- +name: Check pull request message format + +on: + pull_request: + branches: + - current + - crux + - equuleus + +jobs: + check-pr-title: + name: Check pull request title + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + timeout-minutes: 2 + - name: Install the requests library + run: pip3 install requests + - name: Check the PR title + timeout-minutes: 2 + run: | + ./scripts/check-pr-title-and-commit-messages.py '${{ github.event.pull_request.url }}' |