Skip to content

chore: skip d2-ci build copy for Dependabot pushes - #1858

Merged
BRaimbault merged 1 commit into
masterfrom
chore/skip-d2-ci-copy-for-dependabot
Sep 18, 2026
Merged

BRaimbault merged 1 commit into
masterfrom
chore/skip-d2-ci-copy-for-dependabot

Conversation

@BRaimbault

@BRaimbault BRaimbault commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Dependabot pushes don't get repository secrets, so the Checkout code step in copy-build-to-d2-ci.yml failed on every Dependabot branch with Input required and not supplied: token. This skips the copy-to-d2-ci job when github.actor == 'dependabot[bot]', matching the existing pattern already used in check-tasklist.yml.

Per GitHub's docs, workflow runs triggered by Dependabot via push, pull_request, pull_request_review, or pull_request_review_comment events get a read-only GITHUB_TOKEN and no access to repository secrets.

Failure example

Every Dependabot branch push has hit this, e.g. run #35222548283 (PR #1855, nanoid bump).

@sonarqubecloud

Copy link
Copy Markdown

@janhenrikoverland janhenrikoverland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BRaimbault
BRaimbault merged commit 0f343e7 into master Sep 18, 2026
13 checks passed
@BRaimbault
BRaimbault deleted the chore/skip-d2-ci-copy-for-dependabot branch September 18, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants