diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6be8440d18..77b41c9b40 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,11 +20,13 @@ on: jobs: auto_changelog: name: changelog / black formatting + if: "!contains(github.event.pull_request.labels.*.name, 'skip-changelog')" runs-on: ubuntu-latest steps: - - name: Checkout the collection repository + - name: checkout fork uses: actions/checkout@v3 with: + ref: ${{ github.head_ref }} fetch-depth: "0" - name: Set up Python '3.9'