From 9e9d4ec8b4d7d54ba75a78f1d1278505126b40b2 Mon Sep 17 00:00:00 2001 From: Jorge Niedbalski Date: Tue, 6 Apr 2021 15:46:33 -0400 Subject: [PATCH] workflows: fix check commit regex, add branch parameter. * fix the commit regex. * add branch parameter to build.sh Signed-off-by: Jorge Niedbalski --- .github/workflows/build-master-packages.yaml | 2 +- .github/workflows/check-commit.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-master-packages.yaml b/.github/workflows/build-master-packages.yaml index 668fcc708f0..0639cb96083 100644 --- a/.github/workflows/build-master-packages.yaml +++ b/.github/workflows/build-master-packages.yaml @@ -36,7 +36,7 @@ jobs: path: packaging - name: Build the distro artifacts - run: ./build.sh -v master -d ${{ env.distro }} + run: ./build.sh -v master -d ${{ env.distro }} -b master env: distro: ${{ matrix.distro }} working-directory: packaging diff --git a/.github/workflows/check-commit.yaml b/.github/workflows/check-commit.yaml index 39f03ffe540..18590483176 100644 --- a/.github/workflows/check-commit.yaml +++ b/.github/workflows/check-commit.yaml @@ -14,8 +14,8 @@ jobs: - name: Check commit subject complies with https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes uses: gsactions/commit-message-checker@v1 with: - pattern: '^[a-z0-9A-Z\-_\s\,\.\/]+\:[ ]{0,1}[a-zA-Z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/\'\"\,><\+\[\]\!\*\\]+$' + pattern: '^[a-z0-9A-Z\-_\s\,\.\/]+\:[ ]{0,1}[a-zA-Z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/\"\,><\+\[\]\!\*\\]+$' error: 'Invalid commit subject. Please refer to: https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes' checkAllCommitMessages: 'false' excludeDescription: 'true' - accessToken: ${{ secrets.GITHUB_TOKEN }} + accessToken: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file