Skip to content

Allow customizing docs drift lookback window via workflow_call input - #196

Merged
strawgate merged 2 commits into
mainfrom
copilot/customize-docs-drift-window
Feb 20, 2026
Merged

strawgate merged 2 commits into
mainfrom
copilot/customize-docs-drift-window

Conversation

Copilot AI commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

The docs-drift workflow had a hardcoded 7 days ago lookback window with no way for callers to override it.

Changes

  • gh-aw-docs-drift.md — adds lookback-window input (default: "7 days ago"); prompt now references ${{ inputs.lookback-window }} instead of the hardcoded string
  • gh-agent-workflows/docs-drift/README.md — documents the new input in the Inputs table
  • gh-aw-docs-drift.lock.yml — regenerated via make compile

Usage

jobs:
  run:
    uses: elastic/ai-github-actions/.github/workflows/gh-aw-docs-drift.lock.yml@v0
    with:
      lookback-window: "14 days ago"
    secrets:
      COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}

Default behavior is unchanged — omitting the input retains the existing "7 days ago" window.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/ruby/setup-ruby/git/ref/tags/v1
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha -c=4 -nolocalimports -importcfg /tmp/go-build4243250898/b305/importcfg -pack /home/REDACTED/go/pkg/mod/github.com/santhosh-tekuri/jsonschema/v6@v6.0.2/kind/kind.go ux-amd64/pkg/inc-I (http block)
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha -D GOAMD64_v1 -gensymabis -o /tmp/go-build4243250898/b338/symabis /home/REDACTED/go/pkg/mod/golang.org/x/sys@v0.41.0/cpu/cpu_gc_x86.s ux-amd64/pkg/too-I (http block)
    • Triggering command: /usr/bin/gh gh api /repos/ruby/setup-ruby/git/ref/tags/v1 --jq .object.sha /tmp/go-build4243250898/b337/symabis -c=4 -nolocalimports -importcfg /tmp/go-build4243250898/b337/importcfg -pack -asmhdr (http block)
  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login -c=4 -nolocalimports -importcfg /tmp/go-build4243250898/b328/importcfg -pack /home/REDACTED/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/runtime/trace/annotation.go /home/REDACTED/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.linux-amd64/src/runtime/trace/batch.go (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Allow customizing docs drift window</issue_title>
<issue_description>via workflow_call input

default to whatever it is right now</issue_description>

Comments on the Issue (you are @copilot in this section)

Custom agent used: default-agent
The default agent


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Allow customizing docs drift window via workflow call Allow customizing docs drift lookback window via workflow_call input Feb 20, 2026
Copilot AI requested a review from strawgate February 20, 2026 02:35
@strawgate
strawgate marked this pull request as ready for review February 20, 2026 02:36
@strawgate
strawgate force-pushed the copilot/customize-docs-drift-window branch from 3c76abf to 13f0275 Compare February 20, 2026 02:37
@strawgate
strawgate merged commit 4863ce9 into main Feb 20, 2026
4 of 5 checks passed
@strawgate
strawgate deleted the copilot/customize-docs-drift-window branch February 20, 2026 02:38
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.

Allow customizing docs drift window

2 participants