Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
429 commits
Select commit Hold shift + click to select a range
e165ddc
Update `macos-26-intel` runner links (#43199)
Mar 3, 2026
f3d979e
"Use Copilot CLI agents" map topic (#59789)
Mar 3, 2026
e570d59
Merge pull request #43215 from github/repo-sync
Mar 3, 2026
c5effa1
Remove topics frontmatter from content/issues (#59972)
Mar 3, 2026
309ad13
Merge pull request #60014 from github/repo-sync
Mar 3, 2026
09c80c0
Clarify that outside collaborators receive Copilot seats without org …
Mar 3, 2026
b4b5d54
Bump react-is from 18.3.1 to 19.2.4 (#60019)
Mar 4, 2026
0efaf79
Bump actions/upload-artifact from 6.0.0 to 7.0.0 (#60017)
Mar 4, 2026
205cd81
Bump actions/download-artifact from 7.0.0 to 8.0.0 (#60018)
Mar 4, 2026
4f65bc5
Add the org level ip allow list to the article for removing the org f…
Mar 4, 2026
341a805
Remove topics frontmatter from billing content (#59976)
Mar 4, 2026
4ac4ac8
[EDI] Configuring private vulnerability reporting for an organization…
Mar 4, 2026
acb8a10
update supported plans reference and add variable
Mar 4, 2026
4d4aba1
[EDI] Logs are not detailed enough (#59867)
Mar 4, 2026
54ff08b
Remove topics frontmatter from content/migrations (#59971)
Mar 4, 2026
9dd0d86
update variable, update individual plans
Mar 4, 2026
b11a9f8
add new article for Copilot Free
Mar 4, 2026
c4584dc
more updates
Mar 4, 2026
0ad28aa
Add {% raw %} tag to MCP config Custom Agents CCA (#60009)
Mar 4, 2026
4d5a28b
final minor updates
Mar 4, 2026
81c791d
docs: update memory docs to reflect default-on for Pro/Pro+ users (#5…
Mar 4, 2026
d878c63
Remove topics frontmatter from authentication content (#59977)
Mar 4, 2026
144f7c0
final tweaks
Mar 4, 2026
740eab5
Potential fix for pull request finding
Mar 4, 2026
8c5a32d
fix failing test
Mar 4, 2026
190aac7
Merge branch 'main' into am-stead/20429
Mar 4, 2026
29d835a
[EDI] Exploring the structure of your source code (#59864)
Mar 4, 2026
b799dd3
Update 3.18 release notes to include command for raising projects lim…
Mar 4, 2026
283873c
Merge pull request #60033 from github/repo-sync
Mar 4, 2026
3ddc28e
[EDI] Advanced setup of the CodeQL CLI (#59983)
Mar 4, 2026
a3be896
Merge pull request #43221 from github/repo-sync
Mar 4, 2026
ee1c0d4
[EDI] Viewing code scanning logs (#59984)
Mar 4, 2026
f718398
Clarify metrics does include PR and CLI metrics now (#59950)
Mar 4, 2026
690f4f3
Update copilot-usage-metrics.md for user-level CLI telemetry (#59959)
Mar 4, 2026
8756d31
Merge pull request #43222 from github/repo-sync
Mar 4, 2026
bb4adb5
Sync secret scanning data (#60035)
Mar 4, 2026
54dc521
Disable GHAS button on the Enterprise licensing page [GA] (#59945)
Mar 4, 2026
73de74e
Include Grok Code model in auto model selection (#59948)
Mar 4, 2026
d3114e4
Add discovery landing page for `content/pages` (#60012)
Mar 4, 2026
e739d0c
Merge pull request #43223 from github/repo-sync
Mar 4, 2026
3ef11bc
Add application/platform card template to templates article (#59724)
Mar 4, 2026
6807572
[2026-03-03] CCA for Jira [1P Solution]: [Public Preview] (#59843)
Mar 4, 2026
d0422d4
Update instructions for setup backup service in HA and cluster (#59885)
Mar 4, 2026
81f9d8b
Remove topics frontmatter from content/apps (#59978)
Mar 4, 2026
4afb70d
Merge pull request #43230 from github/repo-sync
Mar 4, 2026
24ebb49
Remove topics frontmatter from codespaces content (#59974)
Mar 4, 2026
4cc7c37
Fast-follow updates for CCA for Jira [1P Solution]: [Public Preview] …
Mar 5, 2026
f5f4c1d
Migrate existing Teams integration documentation (#59411)
Mar 5, 2026
4f1005c
Remove GPT 5 mini from the auto model pool and other misc changes (#6…
Mar 5, 2026
ed292ae
Normalize line endings for teams-command-reference.md (#60058)
Mar 5, 2026
0066749
[EDI] Workflow configuration options for code scanning (#59763)
Mar 5, 2026
7dadc11
[EDI] How the dependency graph recognizes dependencies (#59506)
Mar 5, 2026
d2a051f
Remove topics frontmatter from content/admin (#59980)
Mar 5, 2026
1f53d0b
Clarify addition of outside collaborators to cost centers (#60039)
Mar 5, 2026
e6ae025
Remove topics frontmatter from content/pages directory (#60025)
Mar 5, 2026
8fa8c00
[EDI] Evaluating the security settings of a repository (#60059)
Mar 5, 2026
f6d05f9
Merge pull request #43236 from github/repo-sync
Mar 5, 2026
f5e7d9b
[EDI] Calculating the cost savings of push protection (#59985)
Mar 5, 2026
34bf111
Update copilot metrics data freshness sla (#60045)
Mar 5, 2026
715bff5
[EDI] Assessing adoption of security features (#59990)
Mar 5, 2026
70a2adb
[EDI] Testing query help files (#60008)
Mar 5, 2026
f7df0cd
[EDI] Interpreting security findings (#60044)
Mar 5, 2026
4c16416
Update copilot-usage-metrics.md with further IDE and CLI definitions …
Mar 5, 2026
a8bcc51
Clarify backtick escaping instruction for gh cli (#59846)
Mar 5, 2026
6f3cb20
Fix search indexing Slack alert failing on empty message (#59848)
Mar 5, 2026
189007e
Render REST response schemas as markdown to fix activity/events 503 (…
Mar 5, 2026
ee2ca94
[2026-03-05] Pick a model when tagging Copilot coding agent with @cop…
Mar 5, 2026
e073f5a
Remove incorrect information saying that CCA Auto mode is only for Pr…
Mar 5, 2026
e69361f
Add REST API changelog sync and fix GHES multi-version release bugs (…
Mar 5, 2026
e721915
Track article body response size in Datadog (#59850)
Mar 5, 2026
2e3c5c2
Support Accept: text/markdown content negotiation and extend .md to a…
Mar 5, 2026
b807b04
Fix sync-llms-txt branch detection swallowing 404 errors (#59969)
Mar 5, 2026
8a02308
Fix link check workflow failures (#59963)
Mar 5, 2026
e22bdda
Make create-tree resilient to missing early-access children (#59968)
Mar 5, 2026
7d46096
Consolidate all weekly workflows to Monday (#60006)
Mar 5, 2026
1236101
Add usage guidance to llms.txt for LLM content discovery (#59849)
Mar 5, 2026
2f23568
Add issue creation to slack-alert composite action (#60063)
Mar 5, 2026
cb1ba5a
Add agent discovery workflow to .github/instructions (#60000)
Mar 5, 2026
31ca2cf
Merge pull request #43240 from github/repo-sync
Mar 5, 2026
af22b36
Update docs changelog (for PR #59411) (#60055)
Mar 5, 2026
55357fa
Merge pull request #43241 from github/repo-sync
Mar 5, 2026
be8eccf
Refresh information about approvals for Copilot coding agent PRs (#60…
Mar 5, 2026
760a5ec
Update docs changelog (for PR #59843) (#60047)
Mar 5, 2026
b567b80
Fast-follow add Jira to the CCA supported list (#60071)
Mar 5, 2026
68894b6
[2026-03-05] File upload field in issue forms and move items to itera…
Mar 5, 2026
2918266
Tented model 0017 (#60053)
Mar 5, 2026
27d20a7
Merge pull request #43245 from github/repo-sync
Mar 6, 2026
31a9ba2
Improve content pipelines workflow (#60068)
Mar 6, 2026
9039673
Sync secret scanning data (#60064)
Mar 6, 2026
5442d0a
[EDI] Creating CodeQL CLI database bundles (#59987)
Mar 6, 2026
3bc2195
[EDI] Configuring larger runners for default setup (#59988)
Mar 6, 2026
5f24b37
Remove misc topics frontmatter (#60060)
Mar 6, 2026
895fa7a
[EDI] Disabling Copilot Autofix for code scanning security alerts (#5…
Mar 6, 2026
8c3ce73
[EDI] Delegated alert dismissal articles (#59890)
Mar 6, 2026
36d8b71
Update sentence to be less IDE focused (#60079)
Mar 6, 2026
7c4ecd9
Update section title from 'Auto-scaling' to 'Capacity' (#60052)
Mar 6, 2026
249a816
Update example with dynamic product name variable (#60080)
Mar 6, 2026
8543153
Merge pull request #43250 from github/repo-sync
Mar 6, 2026
db96b9c
[EDI] Publishing and using CodeQL packs (#60066)
Mar 6, 2026
e17d5e1
GraphQL schema update (#60087)
Mar 6, 2026
19064e3
Revisit organization-level roles docs (#60004)
Mar 6, 2026
488b096
[EDI] Optimizing Java packages for Dependabot updates (#59809)
Mar 6, 2026
c5b3530
[Copilot] Adding image upload support to agents tab (#60083)
Mar 6, 2026
e4649ff
Merge pull request #43252 from github/repo-sync
Mar 6, 2026
5e4bf35
Add landing page categories for get-started doc set (#60069)
Mar 6, 2026
961d188
Updated minute multiplier reference (#60041)
Mar 6, 2026
db0ca73
Add detail to content pipeline auto-PRs for reviewers (#60070)
Mar 6, 2026
0f90aa7
Fix get-started category assignments (fast-follow to #60069) (#60090)
Mar 6, 2026
555e1cd
Merge pull request #43253 from github/repo-sync
Mar 6, 2026
af20d5f
docs: add G S keyboard shortcut for Security tab (#60098)
Mar 9, 2026
098d690
Add OpenAI Codex npm host requirements to coding agent allowlist docs…
Mar 9, 2026
79f17c3
[GHES 3.20 too - do not merge now] - Document known issue with viewin…
Mar 9, 2026
a0d6f4a
apply review feedback - update plans
Mar 9, 2026
474bb5c
apply review feedback
Mar 9, 2026
9a27afc
Merge branch 'am-stead/20429' of https://github.com/github/docs-inter…
Mar 9, 2026
29c7630
Merge branch 'main' into am-stead/20429
Mar 9, 2026
9acb109
docs: update copilot-cli content from source docs (#60096)
Mar 9, 2026
48ae256
docs(copilot): expand agent session filter criteria in monitor-agenti…
Mar 9, 2026
58c8895
Early Access preview: Copilot Standalone Migration API changes (#60010)
Mar 9, 2026
bf0ca1b
[EDI] Error: "Out of disk" or Error: "Out of memory" (#59820)
Mar 9, 2026
131a52b
[EDI] CodeQL for compiled languages (#59865)
Mar 9, 2026
c04eb9d
[EDI] Configuring automatic dependency submission for your repository…
Mar 9, 2026
bc77ad8
Fix versioning of "Activity dashboard" (#60093)
Mar 9, 2026
c55c58e
Fix name of drop-down menu in Support Portal (#60092)
Mar 9, 2026
2438d0d
Update wording about NICs in Azure subscriptions (#60022)
Mar 9, 2026
74807cc
Merge pull request #43274 from github/repo-sync
Mar 9, 2026
4ab048f
Delete orphaned files (2026-03-04-16-35) (#60036)
Mar 9, 2026
d013c69
Update OpenAPI Description (#60088)
Mar 9, 2026
5bb2218
apply review feedback
Mar 9, 2026
5a5a0a6
Merge branch 'am-stead/20429' of https://github.com/github/docs-inter…
Mar 9, 2026
fad9802
Merge branch 'main' into am-stead/20429
Mar 9, 2026
301ecf6
Merge branch 'main' into am-stead/20429
Mar 9, 2026
f2a2c50
Merge pull request #43276 from github/repo-sync
Mar 9, 2026
90dc326
Improve Copilot landing page search relevancy (#59870)
Mar 9, 2026
e13e69d
Fix translation corruption patterns causing search scraping failures …
Mar 9, 2026
e9c6874
Remove explicit `any` types from 16 files (#59851)
Mar 9, 2026
c5a427c
Merge pull request #43279 from github/repo-sync
Mar 9, 2026
a9a8598
Replace Slack alert with GitHub issue for search scraping failures (#…
Mar 9, 2026
fd2533f
Add Dependabot PR triage agentic workflow (#60034)
Mar 9, 2026
c7828b1
Add Copilot prompts to GHES deprecation runbook (#60062)
Mar 9, 2026
2b11c5c
Replace custom get-changed-files action with tj-actions/changed-files…
Mar 9, 2026
e5739d3
Fix fromJSON crash in search indexing workflow when no failures exist…
Mar 9, 2026
4daa98a
Rewrite count-translation-corruptions to output structured JSON (#60117)
Mar 9, 2026
821f3a9
Use claude-opus-4.6 for dependabot triage agent, upgrade gh-aw to v0.…
Mar 9, 2026
532b078
Add `model` to custom agent config docs (#60011)
Mar 9, 2026
989271c
Merge pull request #43283 from github/repo-sync
Mar 9, 2026
977934e
Sync secret scanning data (#60105)
Mar 10, 2026
39d0b77
[EDI] Enabling delegated bypass for push protection (#60089)
Mar 10, 2026
f8b6f07
[EDI] Reviewing requests to bypass push protection (#60091)
Mar 10, 2026
8ac7cd9
Add "Example schema for Copilot usage metrics" reference article (#60…
Mar 10, 2026
270720e
update supported models
Mar 10, 2026
582d431
Delete orphaned files (2026-03-09-16-39) (#60104)
Mar 10, 2026
ab2f4f2
Delete orphaned features (2026-03-09-16-41) (#60108)
Mar 10, 2026
0c6cc0b
Update audit log event data (#60106)
Mar 10, 2026
03d3b6c
docs: update copilot-cli content from source docs (#60107)
Mar 10, 2026
92d6c0c
Add content linter rule for curly quotes in frontmatter (GHD034) (#60…
Mar 10, 2026
09438af
[EDI] Viewing metrics for pull request alerts + push protection (#60113)
Mar 10, 2026
aa17a0e
Merge pull request #43292 from github/repo-sync
Mar 10, 2026
2029096
[EDI] Push protection for users (#59319)
Mar 10, 2026
2c92c49
Expose document type for articles in API (#60109)
Mar 10, 2026
ef1b934
Remove model field from dependabot-triage-agent (default to claude-so…
Mar 10, 2026
6d236d5
GraphQL schema update (#60132)
Mar 10, 2026
e22f157
Patch release notes for GitHub Enterprise Server (#60081)
Mar 10, 2026
221c825
Bump liquidjs from 10.24.0 to 10.25.0 in the npm_and_yarn group acros…
Mar 10, 2026
4154a54
Merge pull request #43294 from github/repo-sync
Mar 10, 2026
492ec50
Copilot CLI: Add list of supported models (#60115)
Mar 10, 2026
8ddbd40
Fix event validation rejections (#60142)
Mar 10, 2026
e3d5c0c
Update copilot-matrix.yml with support statuses (#59888)
Mar 10, 2026
30e613a
Merge pull request #43297 from github/repo-sync
Mar 10, 2026
cc8b35e
Update GitHub Sponsors Additional Terms to clarify Stripe's payment p…
Mar 10, 2026
ffd1f12
Merge pull request #43299 from github/repo-sync
Mar 10, 2026
b7cde38
Fast-follow CCA for Jira integration, add enable beta features step (…
Mar 11, 2026
2e9bd33
[Improvement]: Clarify documentation around Dependabot on self-hosted…
Mar 11, 2026
22bc170
Update OpenAPI Description (#60134)
Mar 11, 2026
313f3b3
docs: update copilot-cli content from source docs (#60146)
Mar 11, 2026
0f5198e
Add 'skip FR board' label to PR creation step (#60161)
Mar 11, 2026
b888128
Update documentation on changing enterprise slug to include ghe not s…
Mar 11, 2026
41efe77
Merge pull request #43313 from github/repo-sync
Mar 11, 2026
0d8601d
Add dismissible machine translation banner on non-English pages (#60137)
Mar 11, 2026
6f9aa0a
Bump file-type from 21.0.0 to 21.3.1 in the npm_and_yarn group across…
Mar 11, 2026
906bfce
Improve the content pipeline diff link (#60147)
Mar 11, 2026
f6b4e68
Bump docker/setup-buildx-action from 3.7.1 to 4.0.0 (#60155)
Mar 11, 2026
037d284
Add Tines Automation Inc. to subprocessors list (#60157)
Mar 11, 2026
ba50ad5
Merge pull request #43319 from github/repo-sync
Mar 11, 2026
8be6249
Localization trigger: acceptable use policies (Feedback 1131974) (#60…
Mar 11, 2026
21cac4c
Turn "View Markdown" button into a dropdown (#60130)
Mar 11, 2026
8116a57
Merge pull request #43321 from github/repo-sync
Mar 11, 2026
638e05b
Sync REST API schema to 2026-03-10 + hardcode 2022-11-28 initial vers…
Mar 11, 2026
06f555f
Remove dependabot-triage-agent (migrated to docs-engineering) (#60175)
Mar 11, 2026
65ac7f5
Fix .md URLs redirecting instead of serving markdown (#60120)
Mar 11, 2026
bae3b65
Add translation correction patterns for ja, ko, zh, pt, es, fr, de (#…
Mar 11, 2026
8de8ac1
[Improvement]: Add Atlassian MCP server config to extend Copilot codi…
Mar 11, 2026
04b9a6d
Updating public docs for HA scale out (#60016)
Mar 11, 2026
4893354
Fix accessibility: Remove double keyboard focus on article cards (#60…
Mar 11, 2026
72de5c7
Add license qualifier section to code search syntax (#43285)
Mar 11, 2026
49492f0
Merge pull request #43325 from github/repo-sync
Mar 11, 2026
fe1e7ae
Article API: extract common webhook parameters and remove JSON exampl…
Mar 11, 2026
466cb60
Merge pull request #60177 from github/repo-sync
Mar 11, 2026
3621c10
Add GA date field to DPA-Covered Previews page (#60148)
Mar 11, 2026
51b6b0a
Article API: simplify GitHub Apps permissions token indicators (#60075)
Mar 12, 2026
385b821
Add issue fields documentation for limited public preview (#59982)
Mar 12, 2026
958fd66
update supported models
Mar 12, 2026
5ecce49
Merge branch 'main' into am-stead/20429
Mar 12, 2026
81fab01
Update OpenAPI Description (#60181)
Mar 12, 2026
17719a3
Copilot CLI: Add new map topic & articles about automation (#60002)
Mar 12, 2026
d9f4d87
Merge pull request #43329 from github/repo-sync
Mar 12, 2026
a6ad80c
Merge pull request #60188 from github/repo-sync
Mar 12, 2026
c67f934
Merge branch 'main' into am-stead/20429
Mar 12, 2026
acceeee
Article API: deduplicate REST response schemas and simplify curl (#60…
Mar 12, 2026
267b25b
docs(actions): Add OIDC repository custom properties claims (Public P…
Mar 12, 2026
e1e311c
Fix REST API broken anchor and skip auto-generated page anchor checks…
Mar 12, 2026
c349299
Merge pull request #60029 from github/am-stead/20429
Mar 12, 2026
ca626ff
Fix broken external links and add false positives to exclusion list (…
Mar 12, 2026
255375f
Fix broken internal links: anchors, stale paths, and unversioned link…
Mar 12, 2026
ac2064f
Standardize cookie names to snake_case with central constants (#60140)
Mar 12, 2026
8b2e2d4
Article API: compact GraphQL reference output for LLM consumers (#60072)
Mar 12, 2026
cce0dc7
Article API: extract common base fields in audit log events (#60074)
Mar 12, 2026
a09d270
Fix accessibility: Add row headers to premium features table (#60150)
Mar 12, 2026
b27ca3f
Fix accessibility: Focus target element on in-page anchor navigation …
Mar 12, 2026
7ecd7d9
Article API: strip HTML spans from secret scanning patterns (#60077)
Mar 12, 2026
0719a91
Fixing up var sub for MCP in CCA (#60015)
Mar 12, 2026
39327a4
Landing page: Pull requests (#60178)
Mar 12, 2026
d41564f
Auto GA in JetBrains IDEs (#59757)
Mar 12, 2026
85f3543
Landing page: account-and-profile (#60154)
Mar 12, 2026
bf53a3c
GraphQL schema update (#60190)
Mar 12, 2026
2bbf57a
Add discovery landing page and categories for repositories (#60145)
Mar 12, 2026
2fabb88
Update default API version date (#60184)
Mar 12, 2026
d090b93
Add landing page categories for content/actions (#60095)
Mar 12, 2026
187593c
Merge pull request #43331 from github/repo-sync
Mar 12, 2026
bd17b2c
Convert 'type' frontmatter to 'contentType' (#60173)
Mar 12, 2026
15b722d
Clarify certain details about the EMU setup user account (#60162)
Mar 12, 2026
aae6f16
Update the GHES "Attaching files" page with the latest information (#…
Mar 12, 2026
48b7036
Handle bot authors (e.g. dependabot[bot]) in ready-for-docs-review (#…
Mar 12, 2026
aeff218
Merge pull request #43334 from github/repo-sync
Mar 12, 2026
966392e
update security guide for custom image (#60174)
Mar 12, 2026
dae40e1
Add note on enterprise dedicated domain selection to note ghe domain …
Mar 12, 2026
80198e3
Merge pull request #43336 from github/repo-sync
Mar 12, 2026
baae69c
Enable projects-v2-timeline-events for GHES ≥3.19, remove public prev…
Mar 13, 2026
e838e2f
Remove 3.19.2 release notes reference (#60204)
Mar 13, 2026
4183bf1
[EDI] Configuring multi-ecosystem updates for Dependabot (#60101)
Mar 13, 2026
e0772fd
Merge pull request #43339 from github/repo-sync
Mar 13, 2026
a3420c4
GraphQL schema update (#60213)
Mar 13, 2026
e53d296
Update OpenAPI Description (#60211)
Mar 13, 2026
43b6458
Linter to enforce contentType (EDI-fied docs only) (#60197)
Mar 13, 2026
2f8960a
Add discovery landing page for content/authentication (#60031)
Mar 13, 2026
cc5a1ff
Merge pull request #43341 from github/repo-sync
Mar 13, 2026
f78fe1d
Sync secret scanning data (#60212)
Mar 13, 2026
818d95e
[2026-03-12] Repository admins can opt-in to allow GitHub Actions che…
Mar 13, 2026
1372fae
Merge pull request #43344 from github/repo-sync
Mar 13, 2026
58b4b81
Fix whitespace issue in bug bounty program policy
Mar 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
# to native line endings on checkout.
*.md text diff=markdown
*.json.br filter=lfs diff=lfs merge=lfs -text
.github/workflows/*.lock.yml linguist-generated=true merge=ours
93 changes: 93 additions & 0 deletions .github/actions/create-workflow-failure-issue/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Create workflow failure issue
description: Create or update a GitHub issue in docs-engineering when a workflow fails, for automated diagnosis by an agentic workflow.

inputs:
token:
description: A token with issues write permission on the target repo
required: true
repo:
description: The repository to create the issue in
default: github/docs-engineering
required: false

runs:
using: composite
steps:
- name: Check for existing open issue
id: check-existing
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
ISSUE_REPO: ${{ inputs.repo }}
WORKFLOW_NAME: ${{ github.workflow }}
run: |
existing=$(gh issue list \
--repo "$ISSUE_REPO" \
--label "workflow-failure" \
--search "in:title [Workflow Failure] $WORKFLOW_NAME" \
--state open \
--json number \
--jq '.[0].number // empty' 2>/dev/null || true)
echo "existing_issue=$existing" >> "$GITHUB_OUTPUT"

- name: Comment on existing issue
if: steps.check-existing.outputs.existing_issue != ''
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
ISSUE_REPO: ${{ inputs.repo }}
ISSUE_NUMBER: ${{ steps.check-existing.outputs.existing_issue }}
WORKFLOW_NAME: ${{ github.workflow }}
SOURCE_REPO: ${{ github.repository }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
EVENT_NAME: ${{ github.event_name }}
GIT_REF: ${{ github.ref }}
run: |
body=$(cat <<EOF
### Repeat failure

**Workflow:** \`$WORKFLOW_NAME\`
**Repository:** \`$SOURCE_REPO\`
**Run:** $RUN_URL
**Event:** \`$EVENT_NAME\`
**Ref:** \`$GIT_REF\`
**Timestamp:** $(date -u +%Y-%m-%dT%H:%M:%SZ)
EOF
)
gh issue comment "$ISSUE_NUMBER" \
--repo "$ISSUE_REPO" \
--body "$body"

- name: Create workflow failure issue
if: steps.check-existing.outputs.existing_issue == ''
shell: bash
env:
GH_TOKEN: ${{ inputs.token }}
ISSUE_REPO: ${{ inputs.repo }}
WORKFLOW_NAME: ${{ github.workflow }}
SOURCE_REPO: ${{ github.repository }}
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
EVENT_NAME: ${{ github.event_name }}
GIT_REF: ${{ github.ref }}
ACTOR: ${{ github.actor }}
run: |
body=$(cat <<EOF
### Workflow failure

**Workflow:** \`$WORKFLOW_NAME\`
**Repository:** \`$SOURCE_REPO\`
**Run:** $RUN_URL
**Event:** \`$EVENT_NAME\`
**Ref:** \`$GIT_REF\`
**Triggered by:** \`$ACTOR\`
**Timestamp:** $(date -u +%Y-%m-%dT%H:%M:%SZ)

---
This issue was automatically created by the create-workflow-failure-issue action to enable automated diagnosis.
EOF
)
gh issue create \
--repo "$ISSUE_REPO" \
--label "workflow-failure" \
--title "[Workflow Failure] $WORKFLOW_NAME" \
--body "$body"
40 changes: 0 additions & 40 deletions .github/actions/get-changed-files/action.yml

This file was deleted.

204 changes: 0 additions & 204 deletions .github/actions/get-changed-files/get-changed-files.sh

This file was deleted.

10 changes: 7 additions & 3 deletions .github/actions/retry-command/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ runs:
steps:
- name: Retry command
shell: bash
env:
INPUT_MAX_ATTEMPTS: ${{ inputs.max_attempts }}
INPUT_DELAY: ${{ inputs.delay }}
INPUT_COMMAND: ${{ inputs.command }}
run: |
# Generic retry function: configurable attempts and delay
retry_command() {
local max_attempts=${{ inputs.max_attempts }}
local delay=${{ inputs.delay }}
local max_attempts=${INPUT_MAX_ATTEMPTS}
local delay=${INPUT_DELAY}
local attempt=1
local command="${{ inputs.command }}"
local command="${INPUT_COMMAND}"

while [ $attempt -le $max_attempts ]; do
echo "Attempt $attempt/$max_attempts: Running command..."
Expand Down
8 changes: 6 additions & 2 deletions .github/actions/setup-elasticsearch/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,18 @@ runs:
- name: Pull Docker image
shell: bash
if: steps.cache-docker-layers.outputs.cache-hit != 'true'
run: docker pull elasticsearch:${{ inputs.elasticsearch_version }}
env:
ES_VERSION: ${{ inputs.elasticsearch_version }}
run: docker pull elasticsearch:${ES_VERSION}

- name: Save Docker image to cache
shell: bash
if: steps.cache-docker-layers.outputs.cache-hit != 'true'
env:
ES_VERSION: ${{ inputs.elasticsearch_version }}
run: |
mkdir -p /tmp/docker-cache
docker save -o /tmp/docker-cache/elasticsearch.tar elasticsearch:${{ inputs.elasticsearch_version }}
docker save -o /tmp/docker-cache/elasticsearch.tar elasticsearch:${ES_VERSION}

# Setups the Elasticsearch container
# Derived from https://github.com/getong/elasticsearch-action
Expand Down
Loading