Postman collection run via GitHub action stopped working

I’ve been succesfully running Postman CLI GitHub action until the last week. Following is the Action config:

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Install Postman CLI
        run: |
          curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
      - name: Login to Postman CLI
        run: postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }}
      - name: Run API tests
        run: |
          postman collection run "14779683-c20279a2-e01b-42d7-a435-cb45a05d982c" -e "14779683-fb25fdcd-2eee-4e1a-9bc5-5c13edfef1a5" --integration-id "135195-${{ github.run_id }}"
          postman api lint --integration-id 135195-${{ github.run_id }}
  

The API key seems to be valid, as it runs the collection and finished all tests. But since the last week or so, I started to get following message:

Postman CLI run data uploaded to Postman Cloud successfully.
You can view the run data in Postman at: https://go.postman.co/workspace/3998f5e5-fd98-4009-8cac-16dbba3f93fc/api/f79c4bd4-cf58-4ff8-9237-2f4a87135b6c/run/14779683-dcbd86b3-9124-4295-b476-03a1d7ab6768
Error: Couldn't find the Postman config file in the current directory.
Try re-integrating this folder with your Postman API. https://go.pstmn.io/v10-git-local-docs

The link seems to be incorrect, it brings be to v10 early access features.
Does someone know what is missing, something have changed with the Postman CLI perhaps?

1 Like

Facing the same since a week and no clue how to solve it or what has changed, the test passes successfully but the exist code from Postman CLI is error (1).

Actually, this error is coming from the “postman lint” command that comes later. Removing it seems to fix the error

Thank you, indeed it solved the problem :slight_smile:

1 Like