Skip to content

ci: skip feature flags workflow for Dependabot - #222

Merged
marandaneto merged 1 commit into
mainfrom
ci/skip-flags-workflow-for-dependabot
Aug 12, 2026
Merged

ci: skip feature flags workflow for Dependabot#222
marandaneto merged 1 commit into
mainfrom
ci/skip-flags-workflow-for-dependabot

Conversation

@marandaneto

Copy link
Copy Markdown
Member

💡 Motivation and Context

Dependabot pull requests fail the Feature Flags project workflow because GitHub withholds organization Actions secrets from Dependabot runs. The pinned reusable workflow still tries to create a GitHub App token with those unavailable secrets.

This updates the shared workflow pin to a revision that skips the project-board job for Dependabot pull requests. Regular pull requests continue to update the Feature Flags project board.

💚 How did you test it?

  • Parsed the changed workflow as YAML.
  • Ran git diff --check.
  • Confirmed the pinned reusable workflow checks github.actor != 'dependabot[bot]'.

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

If releasing new changes

  • Ran pnpm change to generate a change intent file

🤖 Agent context

Autonomy: Human-driven (agent-assisted)

Pi and GitHub CLI were used to inspect the failing workflow, compare its behavior with other PostHog SDK repositories, and update the pinned shared workflow. The shared workflow's existing Dependabot guard was reused instead of exposing project-board credentials to Dependabot.

@marandaneto marandaneto self-assigned this Aug 12, 2026
@marandaneto
marandaneto marked this pull request as ready for review August 12, 2026 06:30
@marandaneto
marandaneto requested a review from a team as a code owner August 12, 2026 06:30
@marandaneto
marandaneto merged commit b915104 into main Aug 12, 2026
23 checks passed
@marandaneto
marandaneto deleted the ci/skip-flags-workflow-for-dependabot branch August 12, 2026 06:30
@github-actions

Copy link
Copy Markdown
Contributor

posthog-php Compliance Report

Date: 2026-08-12 06:30:37 UTC
Duration: 95208ms

✅ All Tests Passed!

46/46 tests passed


Capture Tests

29/29 tests passed

View Details
Test Status Duration
Format Validation.Event Has Required Fields 10ms
Format Validation.Event Has Uuid 5ms
Format Validation.Event Has Lib Properties 4ms
Format Validation.Distinct Id Is String 5ms
Format Validation.Token Is Present 5ms
Format Validation.Custom Properties Preserved 4ms
Format Validation.Event Has Timestamp 5ms
Retry Behavior.Retries On 503 5314ms
Retry Behavior.Does Not Retry On 400 2011ms
Retry Behavior.Does Not Retry On 401 2009ms
Retry Behavior.Respects Retry After Header 8017ms
Retry Behavior.Implements Backoff 15731ms
Retry Behavior.Retries On 500 5117ms
Retry Behavior.Retries On 502 5116ms
Retry Behavior.Retries On 504 5116ms
Retry Behavior.Max Retries Respected 16520ms
Deduplication.Generates Unique Uuids 12ms
Deduplication.Preserves Uuid On Retry 5113ms
Deduplication.Preserves Uuid And Timestamp On Retry 10323ms
Deduplication.Preserves Uuid And Timestamp On Batch Retry 5119ms
Deduplication.No Duplicate Events In Batch 14ms
Deduplication.Different Events Have Different Uuids 9ms
Compression.Sends Gzip When Enabled 7ms
Batch Format.Uses Proper Batch Structure 6ms
Batch Format.Flush With No Events Sends Nothing 3ms
Batch Format.Multiple Events Batched Together 10ms
Error Handling.Does Not Retry On 403 2007ms
Error Handling.Does Not Retry On 413 2010ms
Error Handling.Retries On 408 5116ms

Feature_Flags Tests

17/17 tests passed

View Details
Test Status Duration
Request Payload.Request With Person Properties Device Id 7ms
Request Payload.Flags Request Uses V2 Query Param 6ms
Request Payload.Flags Request Hits Flags Path Not Decide 5ms
Request Payload.Flags Request Omits Authorization Header 5ms
Request Payload.Token In Flags Body Matches Init 5ms
Request Payload.Groups Round Trip 4ms
Request Payload.Groups Default To Empty Object 4ms
Request Payload.Disable Geoip False Propagates As Geoip Disable False 4ms
Request Payload.Disable Geoip Omitted Defaults To False 4ms
Request Payload.Flag Keys To Evaluate Contains Only Requested Key 4ms
Request Lifecycle.No Flags Request On Init Alone 2ms
Request Lifecycle.No Flags Request On Normal Capture 4ms
Request Lifecycle.Two Flag Calls Produce Two Remote Requests 6ms
Request Lifecycle.Mock Response Value Is Returned To Caller 4ms
Retry Behavior.Retries Flags On 502 107ms
Retry Behavior.Retries Flags On 504 108ms
Side Effect Events.Get Feature Flag Captures Feature Flag Called Event 7ms

@greptile-apps

greptile-apps Bot commented Aug 12, 2026

Copy link
Copy Markdown

Reviews (1): Last reviewed commit: "ci: skip feature flags workflow for Depe..." | Re-trigger Greptile

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.

1 participant