diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 770bd24168..9092cbaf78 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -23,7 +23,6 @@ jobs: check-links: runs-on: ubuntu-latest needs: changedfiles - if: if: | github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request' && ${{needs.changedfiles.outputs.md}} @@ -34,7 +33,7 @@ jobs: fetch-depth: 0 - name: Install markdown-link-check - run: npm install -g markdown-link-check + run: npm install -g markdown-link-check@v3.12.2 - name: Run markdown-link-check run: | diff --git a/.github/workflows/lint_0.yml b/.github/workflows/lint_0.yml index cd3cd7bda1..71b148c02d 100644 --- a/.github/workflows/lint_0.yml +++ b/.github/workflows/lint_0.yml @@ -11,7 +11,7 @@ on: env: CORE_REPO_SHA: main - CONTRIB_REPO_SHA: be0c78c8c11d05787edb53104c92a3a959f6a70c + CONTRIB_REPO_SHA: main PIP_EXISTS_ACTION: w jobs: diff --git a/.github/workflows/misc_0.yml b/.github/workflows/misc_0.yml index 3e8aa7cf1b..e816656b8d 100644 --- a/.github/workflows/misc_0.yml +++ b/.github/workflows/misc_0.yml @@ -11,7 +11,7 @@ on: env: CORE_REPO_SHA: main - CONTRIB_REPO_SHA: be0c78c8c11d05787edb53104c92a3a959f6a70c + CONTRIB_REPO_SHA: main PIP_EXISTS_ACTION: w jobs: @@ -109,6 +109,8 @@ jobs: docs: name: docs runs-on: ubuntu-latest + if: | + github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request' steps: - name: Checkout repo @ SHA - ${{ github.sha }} uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 49e2fc7710..3e92195f9d 100644 --- a/tox.ini +++ b/tox.ini @@ -334,6 +334,7 @@ commands = python {toxinidir}/scripts/public_symbols_checker.py [testenv:generate-workflows] +recreate = True deps = {env:CONTRIB_REPO}\#egg=generate_workflows_lib&subdirectory=.github/workflows/generate_workflows_lib commands =