diff --git a/.github/workflows/tidy-dependencies.yml b/.github/workflows/tidy-dependencies.yml index 06b11be9e97fa..2ef01e0f414ee 100644 --- a/.github/workflows/tidy-dependencies.yml +++ b/.github/workflows/tidy-dependencies.yml @@ -1,7 +1,7 @@ name: "Project: Tidy" on: pull_request_target: - types: [labeled] + types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled] branches: - main @@ -9,11 +9,15 @@ jobs: setup-environment: timeout-minutes: 30 runs-on: ubuntu-latest - if: ${{ github.event.label.name == 'dependencies' }} + if: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }} steps: - uses: actions/checkout@v3 with: - repository: "renovate-bot/open-telemetry-_-opentelemetry-collector-contrib" + # currently the fork of this repo is from a personal fork + # because of an issue when creating multiple forks using forking renovate + # + # see https://github.com/renovatebot/renovate/discussions/21057 + repository: "renovate-bot/codeboten-_-opentelemetry-collector-contrib" ref: ${{ github.head_ref }} token: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }} - uses: actions/setup-go@v4