diff --git a/.github/workflows/openimci.yml b/.github/workflows/openimci.yml index d5f299570..014de9667 100644 --- a/.github/workflows/openimci.yml +++ b/.github/workflows/openimci.yml @@ -60,6 +60,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + repository: kubbot/Open-IM-Server + token: "${{ secrets.BOT_GITHUB_TOKEN }}" # `GH_PAT` is a secret that contains your PAT - name: Run go modules tidy run: |