From 6523ce6df73500c2412cadd0b947fdfbcbdfbbf6 Mon Sep 17 00:00:00 2001 From: "Xinwei Xiong(cubxxw-openim)" <3293172751nss@gmail.com> Date: Mon, 17 Jul 2023 15:39:50 +0800 Subject: [PATCH] feat: add test file Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com> --- .github/workflows/openimci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index f9621f667..d5f299570 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -40,6 +40,9 @@ jobs: openim: name: Test with go ${{ matrix.go_version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. + contents: write environment: name: openim @@ -61,6 +64,7 @@ jobs: - name: Run go modules tidy run: | sudo make tidy + sudo make tools.verify.go-gitlint echo "Run go modules tidy successfully" - name: Run go format